fix: use CMD-SHELL for soketi healthcheck with &&
This commit is contained in:
@@ -163,7 +163,7 @@ services:
|
||||
volumes:
|
||||
- ${DEV_COOLIFY_DATA_PATH}/ssh:/var/www/html/storage/app/ssh:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:6001/ready", "&&", "wget", "-qO-", "http://127.0.0.1:6002/ready"]
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:6001/ready && wget -qO- http://127.0.0.1:6002/ready || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 2s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user