This commit is contained in:
ChenKaiLiuG
2025-12-20 23:27:57 +08:00
parent 76a15ecabb
commit 6c40559022
2 changed files with 5 additions and 2 deletions

View File

@@ -21,8 +21,8 @@ db_pool = None
DB_CONFIG = {
"host": os.getenv("DB_HOST", "postgres"),
"port": int(os.getenv("DB_PORT", 5432)),
"database": os.getenv("DB_NAME", "tobiichi"),
"user": os.getenv("DB_USER", "tobiichi"),
"database": os.getenv("DB_NAME", "tobiichiGPT"),
"user": os.getenv("DB_USER", "tobiichi3227"),
"password": os.getenv("DB_PASSWORD", "tobiichi_password")
}

View File

@@ -74,6 +74,8 @@ services:
- "18080:8080"
environment:
- NC_DB=pg://postgres:5432?u=tobiichi3227&p=${DB_PASSWORD}&d=tobiichiGPT
volumes:
- nocodb-data:/usr/app/data
networks:
- tobiichiGPT-network
depends_on:
@@ -88,3 +90,4 @@ networks:
volumes:
postgres-data:
openwebui-data:
nocodb-data: