diff --git a/catalog/compose.yml b/catalog/compose.yml index ef4892e855b..224d3ff790d 100644 --- a/catalog/compose.yml +++ b/catalog/compose.yml @@ -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: diff --git a/docker/minio/env.template b/docker/minio/env.template index 178889c3828..1390cadbe1f 100644 --- a/docker/minio/env.template +++ b/docker/minio/env.template @@ -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