Skip to content

Commit 0b45f3b

Browse files
committed
change create bucket script to work with new minio client versions
1 parent 9827a74 commit 0b45f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/local/minio/create_bucket.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Source: https://helgesver.re/articles/laravel-sail-create-minio-bucket-automatically
44

5-
/usr/bin/mc config host add local ${S3_ENDPOINT} ${S3_ACCESS_KEY_ID} ${S3_SECRET_ACCESS_KEY};
5+
/usr/bin/mc alias set local ${S3_ENDPOINT} ${S3_ACCESS_KEY_ID} ${S3_SECRET_ACCESS_KEY};
66
/usr/bin/mc rm -r --force local/${S3_BUCKET};
77
/usr/bin/mc mb --ignore-existing local/${S3_BUCKET};
88
/usr/bin/mc anonymous set public local/${S3_BUCKET};

0 commit comments

Comments
 (0)