修改端口为7400

This commit is contained in:
2025-11-05 13:32:14 +08:00
parent 3a8a498648
commit d69d0158d8
9 changed files with 28 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
container_name: diet_recommendation_app
ports:
- "5000:5000"
- "7400:7400"
environment:
- FLASK_ENV=production
- PYTHONUNBUFFERED=1
@@ -20,7 +20,7 @@ services:
networks:
- app-network
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:5000/health')"]
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:7400/health')"]
interval: 30s
timeout: 10s
retries: 3