mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 00:16:41 +02:00
fix: use wget-based healthcheck for Traefik
The `traefik healthcheck` CLI command doesn't reliably detect the ping configuration. Using wget against the /ping endpoint instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f337851bb9
commit
4d5d5bac88
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ services:
|
||||||
- "traefik.http.routers.dashboard.service=api@internal"
|
- "traefik.http.routers.dashboard.service=api@internal"
|
||||||
- "traefik.http.routers.dashboard.entrypoints=web"
|
- "traefik.http.routers.dashboard.entrypoints=web"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "traefik", "healthcheck"]
|
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/ping || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue