mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-01 06:40:50 +02: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}."
|
bashio::log.info "Generating Caddyfile at ${CADDYFILE}."
|
||||||
cat <<CONFIG > "$CADDYFILE"
|
cat <<CONFIG > "$CADDYFILE"
|
||||||
{
|
{
|
||||||
servers {
|
servers :80,:443 {
|
||||||
protocols h1 h2 h2c
|
protocols h1 h2c h2 h3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,10 @@ set -euo pipefail
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
SIGNAL_PORT=8083
|
SIGNAL_PORT=8083
|
||||||
SIGNAL_GRPC_PORT=10000
|
|
||||||
LOG_LEVEL="info"
|
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 \
|
exec /usr/local/bin/netbird-signal run \
|
||||||
--port "$SIGNAL_PORT" \
|
--port "$SIGNAL_PORT" \
|
||||||
--grpc-port "$SIGNAL_GRPC_PORT" \
|
|
||||||
--log-level "$LOG_LEVEL" \
|
--log-level "$LOG_LEVEL" \
|
||||||
--log-file console
|
--log-file console
|
||||||
|
|||||||
Reference in New Issue
Block a user