@@ -36,5 +36,10 @@ else
--access-key "$ACCESS_KEY" --secret-key "$ACCESS_KEY_SECRET"
fi
+# Add a bucket if not exists
+BUCKET_NAME="bucket"
+
+./bin/mc ls local/$BUCKET_NAME &>/dev/null || ./bin/mc mb local/$BUCKET_NAME
# Done!
echo "✅ Successfully configured MinIO server."