build: allinone

This commit is contained in:
junjun
2025-09-02 17:27:32 +08:00
parent 74eb9aeca9
commit 52a052e030
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -8,12 +8,14 @@ services:
ports:
- ${SQLBOT_WEB_PORT}:8000
- ${SQLBOT_MCP_PORT}:8001
- 5432:5432
env_file:
- conf/sqlbot.conf
volumes:
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
- ./data/sqlbot/images:/opt/sqlbot/images
- ./data/sqlbot/logs:/opt/sqlbot/logs
- ./data/postgresql:/var/lib/postgresql/data
depends_on:
sqlbot-db:
condition: service_healthy
+1 -1
View File
@@ -1,7 +1,7 @@
SSR_PATH=/opt/sqlbot/g2-ssr
APP_PATH=/opt/sqlbot/app
/usr/local/bin/docker-entrypoint.sh
/usr/local/bin/docker-entrypoint.sh postgres
sleep 5
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"