Fix netbird-server: remove invalid signal --grpc-port flag and align Caddyfile with official quickstart

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-10 12:54:35 +00:00
parent 672e27949b
commit 04240b67b1
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