diff --git a/compose.yaml b/compose.yaml index 79d13aa..d774da8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -55,7 +55,7 @@ services: cpus: 1 mem_limit: 512m healthcheck: - test: [CMD, curl, -f, http://localhost:9000/minio/health/ready] + test: [CMD-SHELL, 'mc alias set health http://127.0.0.1:9000 $$(cat /run/secrets/s3_root_user) $$(cat /run/secrets/s3_root_password) >/dev/null && mc ready health'] interval: 1s timeout: 2s retries: 30