From 47586bcc7b311a2309520c4c56ba1d12521d0c22 Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Fri, 10 Jul 2026 16:50:12 -0300 Subject: [PATCH] fix: update healthcheck command to use CMD-SHELL for improved compatibility --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index dabf4aa..5878751 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: - "${PORT:-3000}:80" restart: unless-stopped healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"] + test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:80/ || exit 1"] interval: 30s timeout: 10s retries: 3