docker-compose.yml

This commit is contained in:
super committed 2026-03-05 00:24:19 +08:00
1 parent 639b0944db
commit 605317c2b2
3 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ services:
restart: always
environment:
# 数据库连接 (指向宿主机或其他容器,请根据实际环境修改)
- DATABASE_URL=postgresql://postgres:difyai123456@192.168.100.230:5432/hxops_prod
- DATABASE_URL=postgresql://postgres:difyai123456@192.168.100.230:5432/hxops_db
# Flask 配置
- FLASK_APP=run.py
- FLASK_ENV=production
@@ -19,7 +19,7 @@ services:
- "host.docker.internal:host-gateway"
# 如果需要在宿主机调试,可暴露端口;生产环境建议只在网络内暴露
ports:
- "5000:5000"
- "5002:5002"
networks:
- ai-platform