fix: 修复后端健康检查端口为 8876

This commit is contained in:
爽哒哒
2026-03-18 23:34:56 +08:00
parent 2b419cebb5
commit f1122d9cb3

View File

@@ -34,7 +34,7 @@ services:
networks: networks:
- scoring_network - scoring_network
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8000/api/health/')"] test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8876/api/health/')"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3