chore(docker): update healthcheck to use /api/health endpoint
All checks were successful
Docker Build / docker (push) Successful in 19s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user