Skip to content

Commit a8c2723

Browse files
committed
createbuckets: Use mc alias set instead of mc config:
The `mc config` command was deprecated for a while, and has finally been removed in the most recent version of the `mc` client: minio/mc#5201
1 parent 92aa910 commit a8c2723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.override.standalone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ services:
7777
condition: service_healthy
7878
entrypoint: >
7979
/bin/sh -c "
80-
/usr/bin/mc config host add myminio ${STORAGE_ENDPOINT_URL} ${STORAGE_ACCESS_KEY_ID} ${STORAGE_SECRET_ACCESS_KEY};
80+
/usr/bin/mc alias set myminio ${STORAGE_ENDPOINT_URL} ${STORAGE_ACCESS_KEY_ID} ${STORAGE_SECRET_ACCESS_KEY};
8181
/usr/bin/mc mb myminio/${STORAGE_BUCKET_NAME};
8282
/usr/bin/mc policy set download myminio/${STORAGE_BUCKET_NAME}/users;
8383
/usr/bin/mc version enable myminio/${STORAGE_BUCKET_NAME};

0 commit comments

Comments
 (0)