mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Simplify NetBird server quickstart addon
This commit is contained in:
@@ -10,6 +10,7 @@ set -euo pipefail
|
||||
DATA_DIR="/config/netbird"
|
||||
LOG_LEVEL="info"
|
||||
MANAGEMENT_CONFIG="$DATA_DIR/management/management.json"
|
||||
MANAGEMENT_PORT=8081
|
||||
|
||||
if [[ ! -f "$MANAGEMENT_CONFIG" ]]; then
|
||||
bashio::log.error "Missing management configuration at ${MANAGEMENT_CONFIG}."
|
||||
@@ -19,5 +20,10 @@ fi
|
||||
bashio::log.info "Starting NetBird Management..."
|
||||
exec /usr/local/bin/netbird-mgmt management \
|
||||
--config "$MANAGEMENT_CONFIG" \
|
||||
--port "$MANAGEMENT_PORT" \
|
||||
--log-level "$LOG_LEVEL" \
|
||||
--log-file console
|
||||
--log-file console \
|
||||
--disable-anonymous-metrics=false \
|
||||
--single-account-mode-domain=netbird.selfhosted \
|
||||
--dns-domain=netbird.selfhosted \
|
||||
--idp-sign-key-refresh-enabled
|
||||
|
||||
Reference in New Issue
Block a user