health change

This commit is contained in:
2026-01-26 21:20:39 +08:00
parent 2003141582
commit 22c0581e8d

View File

@@ -13,7 +13,7 @@ x-common-config: &common-config
- ./scripts:/app/scripts - ./scripts:/app/scripts
- ./assets:/app/assets - ./assets:/app/assets
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8588/health')"] test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://0.0.0.0:8588/health')"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -25,7 +25,7 @@ services:
container_name: xiaozhan container_name: xiaozhan
command: ["python", "fastapi_server/server_dashscope.py"] command: ["python", "fastapi_server/server_dashscope.py"]
ports: ports:
- "8590:8588" - "8588:8588"
blueberry: blueberry:
<<: *common-config <<: *common-config