chore(docker): update healthcheck to use /api/health endpoint
All checks were successful
Docker Build / docker (push) Successful in 19s

Use the dedicated health API endpoint instead of the root dashboard
route for more accurate container health monitoring.
This commit is contained in:
2026-02-11 16:19:02 +07:00
parent e2604bb3b8
commit 1471fd0e3d

View File

@@ -36,7 +36,7 @@ services:
ports:
- "5000:5000"
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/')"]
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/api/health')"]
interval: 30s
timeout: 10s
retries: 3