mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 08:05:57 +02: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
|
until "$MC_BIN" alias set h0 http://127.0.0.1:3200 "$MINIO_USER" "$MINIO_PASS" 2>/dev/null; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
bashio::log.info "Ensuring bucket ${S3_BUCKET}..."
|
bashio::log.info "Ensuring bucket..."
|
||||||
"$MC_BIN" mb -p "h0/${S3_BUCKET}" || true
|
"$MC_BIN" mb -p b2-eu-cen || true
|
||||||
bashio::log.info "MinIO bucket ready."
|
"$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() {
|
start_web() {
|
||||||
|
|||||||
Reference in New Issue
Block a user