From 2f14ac6e06f77a6928d42a49277c16763024c8e5 Mon Sep 17 00:00:00 2001 From: Maxime Vergez <85738261+mvergez@users.noreply.github.com> Date: Thu, 7 Dec 2023 10:35:31 +0100 Subject: [PATCH] fix(build): change minio command for health (#54) * fix(build): change minio command for health * fix(build): set the image used for minio * build: changed minio image variable To be the entire image name and not just the version --------- Co-authored-by: ophdlv --- docker/.env.sample | 1 + docker/docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/.env.sample b/docker/.env.sample index d04997e..8272df1 100644 --- a/docker/.env.sample +++ b/docker/.env.sample @@ -21,6 +21,7 @@ MINIO_ROOT_USER=miniouser MINIO_ROOT_PASSWORD=miniopassword MINIO_ENTRYPOINT_URL=${CANONICAL_URL} MINIO_BUCKET_NAME=miniobucket +MINIO_IMAGE=minio/minio:RELEASE.2023-08-23T10-07-06Z IMPORT_VARSUBSTITUTION_ENABLED=true KEYCLOAK_REALM_ID=${PROJECT_NAME} diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index a41bb79..6a49487 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -133,11 +133,11 @@ services: minio: <<: *project_defaults - image: minio/minio + image: ${MINIO_IMAGE-minio/minio:RELEASE.2023-08-23T10-07-06Z} volumes: - minio_data:/data healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] + test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 30s timeout: 20s retries: 3