From 644405982eefaf1d0726f72be626d999df7ab7b0 Mon Sep 17 00:00:00 2001 From: Weifeng Wang Date: Wed, 6 Mar 2024 21:55:56 +0800 Subject: [PATCH] bump to minio:RELEASE.2024-03-05T04-48-44Z Signed-off-by: Weifeng Wang --- docker-compose/common/compose-include/minio.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docker-compose/common/compose-include/minio.yaml b/docker-compose/common/compose-include/minio.yaml index 9219d429..ace287b8 100644 --- a/docker-compose/common/compose-include/minio.yaml +++ b/docker-compose/common/compose-include/minio.yaml @@ -1,7 +1,7 @@ services: minio: - image: minio/minio:RELEASE.2023-07-21T21-12-44Z + image: minio/minio:RELEASE.2024-03-05T04-48-44Z entrypoint: - sh - -euc @@ -21,11 +21,13 @@ services: # - MINIO_PROMETHEUS_JOB_ID="integrations/minio" volumes: - data-minio:/data:delegated + # Fix health check https://github.com/minio/minio/issues/18373#issuecomment-1790003599 healthcheck: - test: ["CMD", "curl","-f","http://localhost:9000/minio/health/live"] - interval: 10s + test: timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9000' || exit 1 + interval: 5s + retries: 1 + start_period: 5s timeout: 5s - retries: 5 ports: - "9001:9001"