From b7804a4ef1041db0afb13073affcfbf8af7888da Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 27 Oct 2024 23:08:55 +0000 Subject: [PATCH] fix: have to inject creds directly here though --- compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 769ca81..ffe1368 100644 --- a/compose.yml +++ b/compose.yml @@ -84,12 +84,9 @@ services: image: minio/mc depends_on: - minio - environment: - MINIO_ROOT_USER: minioautumn - MINIO_ROOT_PASSWORD: minioautumn entrypoint: > /bin/sh -c " - /usr/bin/mc config host add minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD; + /usr/bin/mc config host add minio http://minio:9000 minioautumn minioautumn; while ! /usr/bin/mc ready minio; do echo 'Waiting minio...' && sleep 1; done; /usr/bin/mc mb minio/attachments; /usr/bin/mc mb minio/avatars;