Skip to content

Commit

Permalink
fix(build): change minio command for health (naturalsolutions#54)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
mvergez and ophdlv authored Dec 7, 2023
1 parent 3ab3e71 commit 2f14ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docker/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f14ac6

Please sign in to comment.