From ccbc52787a993ed4f70b162e639d94c365303b67 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 19 Jul 2026 02:32:58 +0200 Subject: [PATCH] homebox: healthcheck must GET, not HEAD (--spider hit a 405) With the image and the pepper fixed, homebox still sat unhealthy. The probe's own exit code was 8 (server error response) and homebox's log shows exactly why: method=HEAD path=/api/v1/status status=405 method=GET path=/api/v1/status status=200 'wget --spider' issues a HEAD request; homebox's status endpoint only implements GET. Switched to 'wget -q -O /dev/null' (a real GET). NOTE: 24 templates use --spider. The rest validated green, so their endpoints do answer HEAD -- but this is a latent trap worth a convention note (see the campaign doc). Campaign 7 catalog sweep. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE --- templates/homebox/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/homebox/docker-compose.yml b/templates/homebox/docker-compose.yml index 7ded57f..3b27455 100644 --- a/templates/homebox/docker-compose.yml +++ b/templates/homebox/docker-compose.yml @@ -29,7 +29,10 @@ services: limits: memory: 256M healthcheck: - test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:7745/api/v1/status"] + # NEM --spider: az HEAD kérést küld, amire a homebox /api/v1/status + # 405-tel válaszol (GET-re viszont 200). A próba emiatt hibázott, + # a konténer unhealthy lett, a Traefik pedig 404-et adott. + test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:7745/api/v1/status"] interval: 30s timeout: 5s retries: 3