fix: update healthcheck command to use CMD-SHELL for improved compatibility

This commit is contained in:
Lucas Rayan committed 2026-07-10 16:50:12 -03:00
1 parent 393ce8bee1
commit 47586bcc7b
1 file changed
+1 -1
+1 -1
View File
@@ -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