This commit is contained in:
runny committed 2026-05-12 15:30:15 +08:00
1 parent 5da6c464b9
commit 13ecfc3e42
3 files changed
+153 -32

No files matched your search

+2
View File
@@ -17,6 +17,7 @@ services:
- DATABASE_URL=${DATABASE_URL}
- FLASK_APP=${FLASK_APP:-run.py}
- FLASK_ENV=${FLASK_ENV:-production}
- ORACLE_CLIENT_LIB_DIR=${ORACLE_CLIENT_LIB_DIR:-/app/oracle_client}
# 允许容器访问宿主机服务 (如数据库)
extra_hosts:
- "host.docker.internal:host-gateway"
@@ -29,6 +30,7 @@ services:
# 把它当作目录挂载,因此先确保宿主机上存在该文件再启动。
volumes:
- ./backend/.env:/app/.env
- ./oracle_client:/app/oracle_client:ro
networks:
- ai-platform