修改端口为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.low-mem
container_name: diet_recommendation_app_low_mem
ports:
- "5000:5000"
- "7400:7400"
environment:
- FLASK_ENV=production
- PYTHONUNBUFFERED=1
@@ -29,7 +29,7 @@ services:
networks:
- app-network
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/health').read()"]
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7400/health').read()"]
interval: 30s
timeout: 10s
retries: 3