Skip to content

Commit a1f8776

Browse files
authored
Fix use of deprecated mc command for bucket creation
1 parent 7e431d6 commit a1f8776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ services:
5858
sleep 15;
5959
for i in 1 2 3 4 5; do
6060
echo "Attempt $i to connect to MinIO...";
61-
if /usr/bin/mc config host add myminio http://minio:9000 minioadmin minioadmin; then
61+
if /usr/bin/mc alias set myminio http://minio:9000 minioadmin minioadmin; then
6262
echo "Successfully connected to MinIO!";
6363
/usr/bin/mc mb --ignore-existing myminio/worklenz-bucket;
6464
/usr/bin/mc policy set public myminio/worklenz-bucket;

0 commit comments

Comments
 (0)