Skip to content

Commit

Permalink
Use healthcheck command preferred by MinIO (#5170)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb authored Nov 18, 2024
1 parent 723ef96 commit 392219c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 1 addition & 4 deletions catalog/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ services:
- ../docker/minio/s3_entrypoint.sh:/opt/minio/s3_entrypoint.sh:ro,z
entrypoint: /opt/minio/s3_entrypoint.sh
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5010/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
test: "mc ready local"

load_to_s3:
profiles:
Expand Down
3 changes: 3 additions & 0 deletions docker/minio/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ MINIO_ROOT_USER=test_key
# AWS secret key
MINIO_ROOT_PASSWORD=test_secret

# MinIO Client `mc` configuration
MC_HOST_local=http://test_key:test_secret@localhost:5000

# Comma separated list of buckets to create on startup
BUCKETS_TO_CREATE=openverse-catalog,openverse-airflow-logs,inaturalist-open-data

0 comments on commit 392219c

Please sign in to comment.