From 851e3fc2dc2e573077416e7a74fcba93a48fd484 Mon Sep 17 00:00:00 2001 From: MMD Date: Sat, 19 Sep 2026 01:24:15 +0330 Subject: [PATCH] =?UTF-8?q?fix(compose):=20umami=20healthcheck=20via=20127?= =?UTF-8?q?.0.0.1=20=E2=80=94=20localhost=20resolves=20to=20::1=20and=20um?= =?UTF-8?q?ami=20listens=20on=20IPv4=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ab39b98..5eddc56 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -306,7 +306,8 @@ services: db-init: condition: service_completed_successfully healthcheck: - test: ["CMD-SHELL", "wget -q --spider http://localhost:3000/api/heartbeat || exit 1"] + # 127.0.0.1 نه localhost — «localhost» به ::1 حل می‌شود و umami فقط IPv4 گوش می‌دهد + test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:3000/api/heartbeat || exit 1"] interval: 30s timeout: 5s retries: 5