mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 08:11:35 +01:00
Merge pull request #2473 from alexbelgium/copilot/check-netbird-server-addon
Fix netbird-server: remove invalid signal --grpc-port flag, align Caddyfile with upstream
This commit is contained in:
@@ -147,8 +147,8 @@ if [[ ! -f "$CADDYFILE" ]]; then
|
||||
bashio::log.info "Generating Caddyfile at ${CADDYFILE}."
|
||||
cat <<CONFIG > "$CADDYFILE"
|
||||
{
|
||||
servers {
|
||||
protocols h1 h2 h2c
|
||||
servers :80,:443 {
|
||||
protocols h1 h2c h2 h3
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,12 +8,10 @@ set -euo pipefail
|
||||
# ==============================================================================
|
||||
|
||||
SIGNAL_PORT=8083
|
||||
SIGNAL_GRPC_PORT=10000
|
||||
LOG_LEVEL="info"
|
||||
|
||||
bashio::log.info "Starting NetBird Signal on port ${SIGNAL_PORT} (gRPC: ${SIGNAL_GRPC_PORT})..."
|
||||
bashio::log.info "Starting NetBird Signal on port ${SIGNAL_PORT} (legacy gRPC on 10000)..."
|
||||
exec /usr/local/bin/netbird-signal run \
|
||||
--port "$SIGNAL_PORT" \
|
||||
--grpc-port "$SIGNAL_GRPC_PORT" \
|
||||
--log-level "$LOG_LEVEL" \
|
||||
--log-file console
|
||||
|
||||
Reference in New Issue
Block a user