mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Update run
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
# shellcheck shell=bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
bashio::log.info "Starting MinIO."
|
|
||||||
exec /usr/local/bin/minio server /data --address ":3200"
|
# Persistent path
|
||||||
|
MINIO_DATA="/config/minio-data"
|
||||||
|
mkdir -p "${MINIO_DATA}"
|
||||||
|
|
||||||
|
bashio::log.info "Starting MinIO (3200)..."
|
||||||
|
exec /usr/local/bin/minio server "${MINIO_DATA}" --address ":3200"
|
||||||
|
|||||||
Reference in New Issue
Block a user