From 9af1564a6f3477b6b7e72db2e14cc3bca090d080 Mon Sep 17 00:00:00 2001 From: Ignacio Van Droogenbroeck Date: Wed, 11 Feb 2026 15:25:16 -0300 Subject: [PATCH] fix(docker): use 127.0.0.1 in healthcheck instead of localhost Alpine resolves localhost to ::1 (IPv6) but Fiber binds to 0.0.0.0 (IPv4 only), causing the healthcheck to fail with connection refused. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 41af855..10cf538 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: volumes: - memtrace-data:/app/data healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:9100/health"] + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:9100/health"] interval: 30s timeout: 10s retries: 3