Skip to content

Commit 52a052e

Browse files
committed
build: allinone
1 parent 74eb9ae commit 52a052e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

installer/sqlbot/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SSR_PATH=/opt/sqlbot/g2-ssr
22
APP_PATH=/opt/sqlbot/app
33

4-
/usr/local/bin/docker-entrypoint.sh
4+
/usr/local/bin/docker-entrypoint.sh postgres
55
sleep 5
66
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"
77

0 commit comments

Comments
 (0)