From bec47487ddf45e856de4ad8e9c8c90bf344a1e7d Mon Sep 17 00:00:00 2001 From: Mateus Fernandes Date: Sat, 13 Jul 2024 12:33:54 -0300 Subject: [PATCH] fix(MinIO): new command healthcheck MinIO container were not available, as they do not contain the CURL or WGET commands, but MinIO has its own verification command: https://github.com/minio/minio/issues/18389 --- templates/compose/minio.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/minio.yaml b/templates/compose/minio.yaml index c902115b6..be5a488dc 100644 --- a/templates/compose/minio.yaml +++ b/templates/compose/minio.yaml @@ -15,7 +15,7 @@ services: volumes: - minio-data:/data healthcheck: - test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"] + test: ["CMD", "mc", "ready", "local"] interval: 5s timeout: 20s retries: 10