File tree Expand file tree Collapse file tree 1 file changed +5
-24
lines changed
Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change 11services :
22 sqlbot :
3- image : dataease/sqlbot:v1.0 .0
3+ image : dataease/sqlbot:v1.1 .0
44 container_name : sqlbot
55 restart : always
66 networks :
@@ -10,11 +10,11 @@ services:
1010 - 8001:8001
1111 environment :
1212 # Database configuration
13- POSTGRES_SERVER : sqlbot-db
13+ POSTGRES_SERVER : localhost
1414 POSTGRES_PORT : 5432
1515 POSTGRES_DB : sqlbot
16- POSTGRES_USER : sqlbot
17- POSTGRES_PASSWORD : sqlbot
16+ POSTGRES_USER : root
17+ POSTGRES_PASSWORD : Password123@pg
1818 # Project basic settings
1919 PROJECT_NAME : " SQLBot"
2020 DEFAULT_PWD : " SQLBot@123456"
@@ -31,26 +31,7 @@ services:
3131 - ./data/sqlbot/excel:/opt/sqlbot/data/excel
3232 - ./data/sqlbot/images:/opt/sqlbot/images
3333 - ./data/sqlbot/logs:/opt/sqlbot/logs
34- depends_on :
35- sqlbot-db :
36- condition : service_healthy
37-
38- sqlbot-db :
39- image : postgres:17.5
40- container_name : sqlbot-db
41- restart : always
42- networks :
43- - sqlbot-network
44- volumes :
4534 - ./data/postgresql:/var/lib/postgresql/data
46- environment :
47- POSTGRES_DB : sqlbot
48- POSTGRES_USER : sqlbot
49- POSTGRES_PASSWORD : sqlbot
50- healthcheck :
51- test : ["CMD-SHELL", "pg_isready"]
52- interval : 3s
53- timeout : 5s
54- retries : 5
35+
5536networks :
5637 sqlbot-network :
You can’t perform that action at this time.
0 commit comments