From 32c730f749d4bdc7077990a877eaedef01fb6498 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Mon, 29 Jun 2026 10:54:49 +0200 Subject: [PATCH] =?UTF-8?q?rallly:=20fix=20healthcheck=20(image=20has=20no?= =?UTF-8?q?=20wget=20=E2=86=92=20node=20http=20check)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wget healthcheck always failed (exit 127, no wget in image) → container unhealthy → Traefik refused to route it. Pre-existing, never caught because the 3.12.1 image pin didn't exist. Co-Authored-By: Claude Opus 4.8 (1M context) --- templates/rallly/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/rallly/docker-compose.yml b/templates/rallly/docker-compose.yml index 6189893..8c13df6 100644 --- a/templates/rallly/docker-compose.yml +++ b/templates/rallly/docker-compose.yml @@ -42,8 +42,11 @@ services: resources: limits: memory: 256M + # The rallly image has NO wget/curl — the old wget healthcheck always failed (exit 127), marking the + # container unhealthy, which made Traefik refuse to publish a route to it. Use Node (always present). + # rallly's "/" returns 307 → /login, so accept any status < 500. healthcheck: - test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"] + test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000',r=>process.exit(r.statusCode<500?0:1)).on('error',()=>process.exit(1))"] interval: 30s timeout: 5s retries: 3