2022-03-05 11:20:04 +01:00
|
|
|
# Dashboard domain and auth0 configuration
|
|
|
|
|
|
|
|
# Dashboard domain. e.g. app.mydomain.com
|
2021-09-25 19:12:05 +02:00
|
|
|
WIRETRUSTEE_DOMAIN=""
|
|
|
|
# e.g. dev-24vkclam.us.auth0.com
|
|
|
|
WIRETRUSTEE_AUTH0_DOMAIN=""
|
|
|
|
# e.g. 61u3JMXRO0oOevc7gCkZLCwePQvT4lL0
|
|
|
|
WIRETRUSTEE_AUTH0_CLIENT_ID=""
|
|
|
|
# e.g. https://app.mydomain.com/
|
|
|
|
WIRETRUSTEE_AUTH0_AUDIENCE=""
|
|
|
|
# e.g. hello@mydomain.com
|
|
|
|
WIRETRUSTEE_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
|
|
|
|
WIRETRUSTEE_MGMT_API_PORT=33071
|
|
|
|
# Management API endpoint address, used by the Dashboard
|
|
|
|
WIRETRUSTEE_MGMT_API_ENDPOINT=https://$WIRETRUSTEE_DOMAIN:$WIRETRUSTEE_MGMT_API_PORT
|
|
|
|
# Management Certficate file path. These are generated by the Dashboard container
|
|
|
|
WIRETRUSTEE_MGMT_API_CERT_FILE="/etc/letsencrypt/live/$WIRETRUSTEE_DOMAIN/fullchain.pem"
|
|
|
|
# Management Certficate key file path.
|
|
|
|
WIRETRUSTEE_MGMT_API_CERT_KEY_FILE="/etc/letsencrypt/live/$WIRETRUSTEE_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
|
|
|
|
|
|
|
|
# exports
|
|
|
|
export WIRETRUSTEE_DOMAIN
|
|
|
|
export WIRETRUSTEE_AUTH0_DOMAIN
|
|
|
|
export WIRETRUSTEE_AUTH0_CLIENT_ID
|
|
|
|
export WIRETRUSTEE_AUTH0_AUDIENCE
|
|
|
|
export WIRETRUSTEE_LETSENCRYPT_EMAIL
|
|
|
|
export WIRETRUSTEE_MGMT_API_PORT
|
|
|
|
export WIRETRUSTEE_MGMT_API_ENDPOINT
|
|
|
|
export WIRETRUSTEE_MGMT_API_CERT_FILE
|
|
|
|
export WIRETRUSTEE_MGMT_API_CERT_KEY_FILE
|
|
|
|
export TURN_USER
|
|
|
|
export TURN_PASSWORD
|
|
|
|
export TURN_MIN_PORT
|
|
|
|
export TURN_MAX_PORT
|