From 84f3481b5e3fb4f4e6729c018f35e079d793309b Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 5 Dec 2025 14:21:39 +0100 Subject: [PATCH] Fix Garage healthcheck: use garage CLI instead of wget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Garage container doesn't have wget. Use the built-in garage CLI with 'stats -a' command to check if the node is healthy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- templates/compose/garage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/garage.yaml b/templates/compose/garage.yaml index a413c44dd..493ff53bf 100644 --- a/templates/compose/garage.yaml +++ b/templates/compose/garage.yaml @@ -53,7 +53,7 @@ services: admin_token_file = "env:GARAGE_ADMIN_TOKEN" metrics_token_file = "env:GARAGE_METRICS_TOKEN" healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3903/health"] + test: ["CMD", "/garage", "stats", "-a"] interval: 10s timeout: 5s retries: 5