|
|
@ -46,6 +46,7 @@ services:
|
|
|
|
env_file: .env
|
|
|
|
env_file: .env
|
|
|
|
entrypoint: >
|
|
|
|
entrypoint: >
|
|
|
|
/bin/sh -c "
|
|
|
|
/bin/sh -c "
|
|
|
|
|
|
|
|
while ! curl -s --output /dev/null --connect-timeout 1 http://minio:9000; do echo 'Waiting minio...' && sleep 0.1; done;
|
|
|
|
/usr/bin/mc alias set minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD;
|
|
|
|
/usr/bin/mc alias set minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD;
|
|
|
|
/usr/bin/mc mb minio/attachments;
|
|
|
|
/usr/bin/mc mb minio/attachments;
|
|
|
|
/usr/bin/mc mb minio/avatars;
|
|
|
|
/usr/bin/mc mb minio/avatars;
|
|
|
|