File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,14 @@ services:
88 ports :
99 - ${SQLBOT_WEB_PORT}:8000
1010 - ${SQLBOT_MCP_PORT}:8001
11+ - 5432:5432
1112 env_file :
1213 - conf/sqlbot.conf
1314 volumes :
1415 - ./data/sqlbot/excel:/opt/sqlbot/data/excel
1516 - ./data/sqlbot/images:/opt/sqlbot/images
1617 - ./data/sqlbot/logs:/opt/sqlbot/logs
18+ - ./data/postgresql:/var/lib/postgresql/data
1719 depends_on :
1820 sqlbot-db :
1921 condition : service_healthy
Original file line number Diff line number Diff line change 11SSR_PATH=/opt/sqlbot/g2-ssr
22APP_PATH=/opt/sqlbot/app
33
4- /usr/local/bin/docker-entrypoint.sh
4+ /usr/local/bin/docker-entrypoint.sh postgres
55sleep 5
66wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e " \033[1;32mPostgreSQL started.\033[0m"
77
You can’t perform that action at this time.
0 commit comments