2022-03-05 11:20:04 +01:00
|
|
|
# Dashboard domain and auth0 configuration
|
|
|
|
|
|
|
|
# Dashboard domain. e.g. app.mydomain.com
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_DOMAIN=""
|
2021-09-25 19:12:05 +02:00
|
|
|
# e.g. dev-24vkclam.us.auth0.com
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_AUTH0_DOMAIN=""
|
2021-09-25 19:12:05 +02:00
|
|
|
# e.g. 61u3JMXRO0oOevc7gCkZLCwePQvT4lL0
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_AUTH0_CLIENT_ID=""
|
2022-04-04 14:22:42 +02:00
|
|
|
# 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
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_AUTH0_AUDIENCE=""
|
2021-09-25 19:12:05 +02:00
|
|
|
# e.g. hello@mydomain.com
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_LETSENCRYPT_EMAIL=""
|
2022-03-05 11:20:04 +01:00
|
|
|
|
|
|
|
## From this point, most settings are being done automatically, but you can edit if you need some customization
|
|
|
|
|
|
|
|
# Management API
|
|
|
|
|
|
|
|
# Management API port
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_MGMT_API_PORT=33071
|
2022-03-05 11:20:04 +01:00
|
|
|
# Management API endpoint address, used by the Dashboard
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_MGMT_API_ENDPOINT=https://$NETBIRD_DOMAIN:$NETBIRD_MGMT_API_PORT
|
2022-03-05 11:20:04 +01:00
|
|
|
# Management Certficate file path. These are generated by the Dashboard container
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_MGMT_API_CERT_FILE="/etc/letsencrypt/live/$NETBIRD_DOMAIN/fullchain.pem"
|
2022-03-05 11:20:04 +01:00
|
|
|
# Management Certficate key file path.
|
2022-05-22 18:53:47 +02:00
|
|
|
NETBIRD_MGMT_API_CERT_KEY_FILE="/etc/letsencrypt/live/$NETBIRD_DOMAIN/privkey.pem"
|
2022-03-05 11:20:04 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-05-13 14:11:21 +02:00
|
|
|
VOLUME_PREFIX="netbird-"
|
2022-05-13 21:51:41 +02:00
|
|
|
MGMT_VOLUMESUFFIX="mgmt"
|
|
|
|
SIGNAL_VOLUMESUFFIX="signal"
|
|
|
|
LETSENCRYPT_VOLUMESUFFIX="letsencrypt"
|
2022-05-13 14:11:21 +02:00
|
|
|
|
2022-03-05 11:20:04 +01:00
|
|
|
# exports
|
2022-05-22 18:53:47 +02:00
|
|
|
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_API_CERT_FILE
|
|
|
|
export NETBIRD_MGMT_API_CERT_KEY_FILE
|
2022-03-05 11:20:04 +01:00
|
|
|
export TURN_USER
|
|
|
|
export TURN_PASSWORD
|
|
|
|
export TURN_MIN_PORT
|
|
|
|
export TURN_MAX_PORT
|
2022-05-13 21:51:41 +02:00
|
|
|
export VOLUME_PREFIX
|
|
|
|
export MGMT_VOLUMESUFFIX
|
|
|
|
export SIGNAL_VOLUMESUFFIX
|
|
|
|
export LETSENCRYPT_VOLUMESUFFIX
|