fix docker healthcheck to probe 127.0.0.1 in container

This commit is contained in:
2026-02-24 00:29:13 -05:00
parent 168c05cb71
commit 3e72f38928

View File

@@ -18,7 +18,7 @@ services:
OPENCLAW_MODEL: ${OPENCLAW_MODEL:-zeroclaw}
SEC_USER_AGENT: ${SEC_USER_AGENT:-Fiscal Clone <support@fiscal.local>}
healthcheck:
test: ["CMD-SHELL", "wget -q --spider http://localhost:3000/api/health || exit 1"]
test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:3000/api/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3