Make healthcheck ignore proxy env
CI / lint-and-test (push) Has been cancelled

This commit is contained in:
2026-07-13 13:08:10 +02:00
parent 8fa8cd6344
commit 6960a0c236
+1 -1
View File
@@ -26,7 +26,7 @@ services:
# Docker healthcheck (uses the in-container aiohttp server)
healthcheck:
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
timeout: 5s
retries: 3