2022-06-24 14:50:14 +02:00
|
|
|
## example file, you can copy this file to setup.env and update its values
|
|
|
|
##
|
2023-12-17 17:43:06 +01:00
|
|
|
|
|
|
|
# Image tags
|
|
|
|
# you can force specific tags for each component; will be set to latest if empty
|
|
|
|
NETBIRD_DASHBOARD_TAG=""
|
|
|
|
NETBIRD_SIGNAL_TAG=""
|
|
|
|
NETBIRD_MANAGEMENT_TAG=""
|
|
|
|
COTURN_TAG=""
|
|
|
|
|
2022-06-24 14:50:14 +02:00
|
|
|
# Dashboard domain. e.g. app.mydomain.com
|
|
|
|
NETBIRD_DOMAIN=""
|
2023-04-04 00:21:40 +02:00
|
|
|
|
2023-12-17 17:43:06 +01:00
|
|
|
# TURN server domain. e.g. turn.mydomain.com
|
|
|
|
# if not specified it will assume NETBIRD_DOMAIN
|
|
|
|
NETBIRD_TURN_DOMAIN=""
|
|
|
|
|
2023-04-04 00:21:40 +02:00
|
|
|
# -------------------------------------------
|
|
|
|
# OIDC
|
|
|
|
# e.g., https://example.eu.auth0.com/.well-known/openid-configuration
|
|
|
|
# -------------------------------------------
|
2022-08-24 14:37:18 +02:00
|
|
|
NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT=""
|
2023-10-03 19:33:42 +02:00
|
|
|
# The default setting is to transmit the audience to the IDP during authorization. However,
|
|
|
|
# if your IDP does not have this capability, you can turn this off by setting it to false.
|
|
|
|
#NETBIRD_DASH_AUTH_USE_AUDIENCE=false
|
2022-08-24 14:37:18 +02:00
|
|
|
NETBIRD_AUTH_AUDIENCE=""
|
2022-08-17 21:44:20 +02:00
|
|
|
# e.g. netbird-client
|
|
|
|
NETBIRD_AUTH_CLIENT_ID=""
|
2023-06-25 13:59:45 +02:00
|
|
|
# indicates the scopes that will be requested to the IDP
|
|
|
|
NETBIRD_AUTH_SUPPORTED_SCOPES=""
|
|
|
|
# NETBIRD_AUTH_CLIENT_SECRET is required only by Google workspace.
|
|
|
|
# NETBIRD_AUTH_CLIENT_SECRET=""
|
2023-02-03 21:47:20 +01:00
|
|
|
# if you want to use a custom claim for the user ID instead of 'sub', set it here
|
|
|
|
# NETBIRD_AUTH_USER_ID_CLAIM=""
|
2022-08-17 21:44:20 +02:00
|
|
|
# indicates whether to use Auth0 or not: true or false
|
|
|
|
NETBIRD_USE_AUTH0="false"
|
2023-06-05 09:21:52 +02:00
|
|
|
# if your IDP provider doesn't support fragmented URIs, configure custom
|
|
|
|
# redirect and silent redirect URIs, these will be concatenated into your NETBIRD_DOMAIN domain.
|
|
|
|
# NETBIRD_AUTH_REDIRECT_URI="/peers"
|
|
|
|
# NETBIRD_AUTH_SILENT_REDIRECT_URI="/add-peers"
|
|
|
|
# Updates the preference to use id tokens instead of access token on dashboard
|
|
|
|
# Okta and Gitlab IDPs can benefit from this
|
|
|
|
# NETBIRD_TOKEN_SOURCE="idToken"
|
|
|
|
# -------------------------------------------
|
|
|
|
# OIDC Device Authorization Flow
|
|
|
|
# -------------------------------------------
|
2022-08-24 14:37:18 +02:00
|
|
|
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
|
|
|
|
NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID=""
|
2023-04-05 21:57:47 +02:00
|
|
|
# Some IDPs requires different audience, scopes and to use id token for device authorization flow
|
|
|
|
# you can customize here:
|
2023-04-04 15:56:02 +02:00
|
|
|
NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE=$NETBIRD_AUTH_AUDIENCE
|
2023-04-05 21:57:47 +02:00
|
|
|
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid"
|
|
|
|
NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=false
|
2023-06-05 09:21:52 +02:00
|
|
|
# -------------------------------------------
|
2023-07-27 11:31:07 +02:00
|
|
|
# OIDC PKCE Authorization Flow
|
|
|
|
# -------------------------------------------
|
|
|
|
# Comma separated port numbers. if already in use, PKCE flow will choose an available port from the list as an alternative
|
|
|
|
# eg. 53000,54000
|
|
|
|
NETBIRD_AUTH_PKCE_REDIRECT_URL_PORTS="53000"
|
|
|
|
# -------------------------------------------
|
2023-06-05 09:21:52 +02:00
|
|
|
# IDP Management
|
|
|
|
# -------------------------------------------
|
|
|
|
# eg. zitadel, auth0, azure, keycloak
|
2023-06-02 17:34:36 +02:00
|
|
|
NETBIRD_MGMT_IDP="none"
|
|
|
|
# Some IDPs requires different client id and client secret for management api
|
|
|
|
NETBIRD_IDP_MGMT_CLIENT_ID=$NETBIRD_AUTH_CLIENT_ID
|
|
|
|
NETBIRD_IDP_MGMT_CLIENT_SECRET=""
|
2023-10-18 18:03:51 +02:00
|
|
|
# With some IDPs may be needed enabling automatic refresh of signing keys on expire
|
|
|
|
# NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=false
|
2023-06-05 09:21:52 +02:00
|
|
|
# NETBIRD_IDP_MGMT_EXTRA_ variables. See https://docs.netbird.io/selfhosted/identity-providers for more information about your IDP of choice.
|
2023-04-04 00:21:40 +02:00
|
|
|
# -------------------------------------------
|
|
|
|
# Letsencrypt
|
|
|
|
# -------------------------------------------
|
|
|
|
# Disable letsencrypt
|
|
|
|
# if disabled, cannot use HTTPS anymore and requires setting up a reverse-proxy to do it instead
|
|
|
|
NETBIRD_DISABLE_LETSENCRYPT=false
|
|
|
|
# e.g. hello@mydomain.com
|
|
|
|
NETBIRD_LETSENCRYPT_EMAIL=""
|
2023-06-05 09:21:52 +02:00
|
|
|
# -------------------------------------------
|
|
|
|
# Extra settings
|
|
|
|
# -------------------------------------------
|
2022-10-16 13:33:46 +02:00
|
|
|
# Disable anonymous metrics collection, see more information at https://netbird.io/docs/FAQ/metrics-collection
|
2022-12-13 13:42:43 +01:00
|
|
|
NETBIRD_DISABLE_ANONYMOUS_METRICS=false
|
|
|
|
# DNS DOMAIN configures the domain name used for peer resolution. By default it is netbird.selfhosted
|
2023-12-17 17:43:06 +01:00
|
|
|
NETBIRD_MGMT_DNS_DOMAIN=netbird.selfhosted
|