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