From 4d5d5bac8880991ac671faa9852ce08f5dff9110 Mon Sep 17 00:00:00 2001 From: Thomas Reitz Date: Sun, 8 Mar 2026 18:11:32 +0100 Subject: [PATCH] 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 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c76ea62..5b8288c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -80,7 +80,7 @@ services: - "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.routers.dashboard.entrypoints=web" healthcheck: - test: ["CMD", "traefik", "healthcheck"] + test: ["CMD-SHELL", "wget -qO- http://localhost:8080/ping || exit 1"] interval: 30s timeout: 5s retries: 3