mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
build: allinone
This commit is contained in:
@@ -9,7 +9,7 @@ SQLBOT_MCP_PORT=8001
|
||||
## 是否使用外部数据库
|
||||
SQLBOT_EXTERNAL_DB=false
|
||||
## 数据库地址
|
||||
SQLBOT_DB_HOST=sqlbot-db
|
||||
SQLBOT_DB_HOST=localhost
|
||||
## 数据库端口 (仅使用外部数据库时才生效)
|
||||
SQLBOT_DB_PORT=5432
|
||||
## SQLBot 数据库库名
|
||||
|
||||
@@ -8,7 +8,6 @@ services:
|
||||
ports:
|
||||
- ${SQLBOT_WEB_PORT}:8000
|
||||
- ${SQLBOT_MCP_PORT}:8001
|
||||
- 5432:5432
|
||||
env_file:
|
||||
- conf/sqlbot.conf
|
||||
volumes:
|
||||
@@ -16,9 +15,6 @@ services:
|
||||
- ./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
|
||||
|
||||
networks:
|
||||
sqlbot-network:
|
||||
|
||||
Reference in New Issue
Block a user