Skip to content

Commit 0e7369b

Browse files
Update SQLBot image and remove sqlbot-db service
Updated SQLBot image version and changed database credentials. Removed sqlbot-db service configuration.
1 parent baa7f93 commit 0e7369b

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

docker-compose.yaml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
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+
5536
networks:
5637
sqlbot-network:

0 commit comments

Comments
 (0)