mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
mc bin
This commit is contained in:
@@ -145,9 +145,11 @@ wait_minio_ready_and_bucket() {
|
||||
until "$MC_BIN" alias set h0 http://127.0.0.1:3200 "$MINIO_USER" "$MINIO_PASS" 2>/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
bashio::log.info "Ensuring bucket ${S3_BUCKET}..."
|
||||
"$MC_BIN" mb -p "h0/${S3_BUCKET}" || true
|
||||
bashio::log.info "MinIO bucket ready."
|
||||
bashio::log.info "Ensuring bucket..."
|
||||
"$MC_BIN" mb -p b2-eu-cen || true
|
||||
"$MC_BIN" mb -p wasabi-eu-central-2-v3 || true
|
||||
"$MC_BIN" mb -p scw-eu-fr-v3 || true
|
||||
bashio::log.info "MinIO bucket ready."
|
||||
}
|
||||
|
||||
start_web() {
|
||||
|
||||
Reference in New Issue
Block a user