Skip to content

Commit a3dccd6

Browse files
authored
Merge pull request #141 from gdevenyi/patch-1
Fix use of deprecated mc command for bucket creation
2 parents 323b171 + a1f8776 commit a3dccd6

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)