From b110d0c12bb0540e6f6da3c2bab7c86dfc20502a Mon Sep 17 00:00:00 2001 From: Mateus Fernandes Date: Sat, 13 Jul 2024 12:33:12 -0300 Subject: [PATCH 1/2] fix(reactive-resume): new healthcheck command for MinIO 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/reactive-resume.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/reactive-resume.yaml b/templates/compose/reactive-resume.yaml index 930c52cc8..1d27793fb 100644 --- a/templates/compose/reactive-resume.yaml +++ b/templates/compose/reactive-resume.yaml @@ -53,7 +53,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 From bec47487ddf45e856de4ad8e9c8c90bf344a1e7d Mon Sep 17 00:00:00 2001 From: Mateus Fernandes Date: Sat, 13 Jul 2024 12:33:54 -0300 Subject: [PATCH 2/2] 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