Configurable port defaults from setup.env

Allow configuring management and signal ports from setup.env

Allow configuring Coturn range from setup.env
This commit is contained in:
Maycon Santos 2023-04-05 11:39:22 +02:00
parent fe1ea4a2d0
commit 2be1a82f4a

View File

@ -3,7 +3,7 @@
# Management API # Management API
# Management API port # Management API port
NETBIRD_MGMT_API_PORT=33073 NETBIRD_MGMT_API_PORT=${NETBIRD_MGMT_API_PORT:-33073}
# Management API endpoint address, used by the Dashboard # Management API endpoint address, used by the Dashboard
NETBIRD_MGMT_API_ENDPOINT=https://$NETBIRD_DOMAIN:$NETBIRD_MGMT_API_PORT NETBIRD_MGMT_API_ENDPOINT=https://$NETBIRD_DOMAIN:$NETBIRD_MGMT_API_PORT
# Management Certficate file path. These are generated by the Dashboard container # Management Certficate file path. These are generated by the Dashboard container
@ -16,7 +16,7 @@ NETBIRD_MGMT_DNS_DOMAIN=${NETBIRD_MGMT_DNS_DOMAIN:-netbird.selfhosted}
# Signal # Signal
NETBIRD_SIGNAL_PROTOCOL="http" NETBIRD_SIGNAL_PROTOCOL="http"
NETBIRD_SIGNAL_PORT=10000 NETBIRD_SIGNAL_PORT=${NETBIRD_SIGNAL_PORT:-10000}
# Turn credentials # Turn credentials
# User # User
@ -24,9 +24,9 @@ TURN_USER=self
# Password. If empty, the configure.sh will generate one with openssl # Password. If empty, the configure.sh will generate one with openssl
TURN_PASSWORD= TURN_PASSWORD=
# Min port # Min port
TURN_MIN_PORT=49152 TURN_MIN_PORT=${TURN_MIN_PORT:-49152}
# Max port # Max port
TURN_MAX_PORT=65535 TURN_MAX_PORT=${TURN_MAX_PORT:-65535}
VOLUME_PREFIX="netbird-" VOLUME_PREFIX="netbird-"
MGMT_VOLUMESUFFIX="mgmt" MGMT_VOLUMESUFFIX="mgmt"