This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ services:
|
|||||||
# Docker healthcheck (uses the in-container aiohttp server)
|
# Docker healthcheck (uses the in-container aiohttp server)
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c",
|
test: ["CMD", "python", "-c",
|
||||||
"import httpx,os; r=httpx.get(f'http://localhost:{os.getenv(\"HEALTH_PORT\",\"8765\")}/health'); r.raise_for_status()"]
|
"import httpx,os; r=httpx.get(f'http://localhost:{os.getenv(\"HEALTH_PORT\",\"8765\")}/health', trust_env=False); r.raise_for_status()"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user