We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 504ec39 + 52a052e commit 47be3e8Copy full SHA for 47be3e8
2 files changed
installer/sqlbot/docker-compose.yml
@@ -8,12 +8,14 @@ services:
8
ports:
9
- ${SQLBOT_WEB_PORT}:8000
10
- ${SQLBOT_MCP_PORT}:8001
11
+ - 5432:5432
12
env_file:
13
- conf/sqlbot.conf
14
volumes:
15
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
16
- ./data/sqlbot/images:/opt/sqlbot/images
17
- ./data/sqlbot/logs:/opt/sqlbot/logs
18
+ - ./data/postgresql:/var/lib/postgresql/data
19
depends_on:
20
sqlbot-db:
21
condition: service_healthy
start.sh
@@ -1,7 +1,7 @@
1
SSR_PATH=/opt/sqlbot/g2-ssr
2
APP_PATH=/opt/sqlbot/app
3
4
-/usr/local/bin/docker-entrypoint.sh
+/usr/local/bin/docker-entrypoint.sh postgres
5
sleep 5
6
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"
7
0 commit comments