mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
Update SQLBot image and remove sqlbot-db service
Updated SQLBot image version and changed database credentials. Removed sqlbot-db service configuration.
This commit is contained in:
+5
-24
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
sqlbot:
|
||||
image: dataease/sqlbot:v1.0.0
|
||||
image: dataease/sqlbot:v1.1.0
|
||||
container_name: sqlbot
|
||||
restart: always
|
||||
networks:
|
||||
@@ -10,11 +10,11 @@ services:
|
||||
- 8001:8001
|
||||
environment:
|
||||
# Database configuration
|
||||
POSTGRES_SERVER: sqlbot-db
|
||||
POSTGRES_SERVER: localhost
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: sqlbot
|
||||
POSTGRES_USER: sqlbot
|
||||
POSTGRES_PASSWORD: sqlbot
|
||||
POSTGRES_USER: root
|
||||
POSTGRES_PASSWORD: Password123@pg
|
||||
# Project basic settings
|
||||
PROJECT_NAME: "SQLBot"
|
||||
DEFAULT_PWD: "SQLBot@123456"
|
||||
@@ -31,26 +31,7 @@ services:
|
||||
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
|
||||
- ./data/sqlbot/images:/opt/sqlbot/images
|
||||
- ./data/sqlbot/logs:/opt/sqlbot/logs
|
||||
depends_on:
|
||||
sqlbot-db:
|
||||
condition: service_healthy
|
||||
|
||||
sqlbot-db:
|
||||
image: postgres:17.5
|
||||
container_name: sqlbot-db
|
||||
restart: always
|
||||
networks:
|
||||
- sqlbot-network
|
||||
volumes:
|
||||
- ./data/postgresql:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: sqlbot
|
||||
POSTGRES_USER: sqlbot
|
||||
POSTGRES_PASSWORD: sqlbot
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 3s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
networks:
|
||||
sqlbot-network:
|
||||
|
||||
Reference in New Issue
Block a user