fix: update healthcheck command to use CMD-SHELL for improved compatibility
This commit is contained in:
1 parent
393ce8bee1
commit
47586bcc7b
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user