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:
Alexandre
2026-02-10 16:01:01 +01:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -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
}
}

View File

@@ -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