mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-22 16:13:31 +01:00
69 lines
2.1 KiB
Bash
69 lines
2.1 KiB
Bash
# Dashboard domain and auth0 configuration
|
|
|
|
# Dashboard domain. e.g. app.mydomain.com
|
|
NETBIRD_DOMAIN=""
|
|
# e.g. dev-24vkclam.us.auth0.com
|
|
NETBIRD_AUTH0_DOMAIN=""
|
|
# e.g. 61u3JMXRO0oOevc7gCkZLCwePQvT4lL0
|
|
NETBIRD_AUTH0_CLIENT_ID=""
|
|
# e.g. https://app.mydomain.com/ or https://app.mydomain.com,
|
|
# Make sure you used the exact same value for Identifier
|
|
# you used when creating your Auth0 API
|
|
NETBIRD_AUTH0_AUDIENCE=""
|
|
# e.g. hello@mydomain.com
|
|
NETBIRD_LETSENCRYPT_EMAIL=""
|
|
|
|
## From this point, most settings are being done automatically, but you can edit if you need some customization
|
|
|
|
# Management API
|
|
|
|
# Management API port
|
|
NETBIRD_MGMT_API_PORT=33071
|
|
# Management GRPC API port
|
|
NETBIRD_MGMT_GRPC_API_PORT=33073
|
|
# Management API endpoint address, used by the Dashboard
|
|
NETBIRD_MGMT_API_ENDPOINT=https://$NETBIRD_DOMAIN:$NETBIRD_MGMT_API_PORT
|
|
# Management GRPC API endpoint address, used by the hosts to register
|
|
NETBIRD_MGMT_GRPC_API_ENDPOINT=https://$NETBIRD_DOMAIN:NETBIRD_MGMT_GRPC_API_PORT
|
|
# Management Certficate file path. These are generated by the Dashboard container
|
|
NETBIRD_MGMT_API_CERT_FILE="/etc/letsencrypt/live/$NETBIRD_DOMAIN/fullchain.pem"
|
|
# Management Certficate key file path.
|
|
NETBIRD_MGMT_API_CERT_KEY_FILE="/etc/letsencrypt/live/$NETBIRD_DOMAIN/privkey.pem"
|
|
|
|
# Turn credentials
|
|
|
|
# User
|
|
TURN_USER=self
|
|
# Password. If empty, the configure.sh will generate one with openssl
|
|
TURN_PASSWORD=
|
|
# Min port
|
|
TURN_MIN_PORT=49152
|
|
# Max port
|
|
TURN_MAX_PORT=65535
|
|
|
|
VOLUME_PREFIX="netbird-"
|
|
MGMT_VOLUMESUFFIX="mgmt"
|
|
SIGNAL_VOLUMESUFFIX="signal"
|
|
LETSENCRYPT_VOLUMESUFFIX="letsencrypt"
|
|
|
|
# exports
|
|
export NETBIRD_DOMAIN
|
|
export NETBIRD_AUTH0_DOMAIN
|
|
export NETBIRD_AUTH0_CLIENT_ID
|
|
export NETBIRD_AUTH0_AUDIENCE
|
|
export NETBIRD_LETSENCRYPT_EMAIL
|
|
export NETBIRD_MGMT_API_PORT
|
|
export NETBIRD_MGMT_API_ENDPOINT
|
|
export NETBIRD_MGMT_GRPC_API_PORT
|
|
export NETBIRD_MGMT_GRPC_API_ENDPOINT
|
|
export NETBIRD_MGMT_API_CERT_FILE
|
|
export NETBIRD_MGMT_API_CERT_KEY_FILE
|
|
export TURN_USER
|
|
export TURN_PASSWORD
|
|
export TURN_MIN_PORT
|
|
export TURN_MAX_PORT
|
|
export VOLUME_PREFIX
|
|
export MGMT_VOLUMESUFFIX
|
|
export SIGNAL_VOLUMESUFFIX
|
|
export LETSENCRYPT_VOLUMESUFFIX
|