2021-09-25 19:12:05 +02:00
|
|
|
{
|
|
|
|
"Stuns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2023-12-17 17:43:06 +01:00
|
|
|
"URI": "stun:$TURN_DOMAIN:3478",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"TURNConfig": {
|
|
|
|
"Turns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2023-12-17 17:43:06 +01:00
|
|
|
"URI": "turn:$TURN_DOMAIN:3478",
|
2022-03-05 11:20:04 +01:00
|
|
|
"Username": "$TURN_USER",
|
|
|
|
"Password": "$TURN_PASSWORD"
|
2021-09-25 19:12:05 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"CredentialsTTL": "12h",
|
|
|
|
"Secret": "secret",
|
|
|
|
"TimeBasedCredentials": false
|
|
|
|
},
|
2024-09-08 12:06:14 +02:00
|
|
|
"Relay": {
|
|
|
|
"Addresses": ["rel://$NETBIRD_RELAY_DOMAIN:$NETBIRD_RELAY_PORT"],
|
|
|
|
"CredentialsTTL": "24h",
|
|
|
|
"Secret": "$NETBIRD_RELAY_AUTH_SECRET"
|
|
|
|
},
|
2021-09-25 19:12:05 +02:00
|
|
|
"Signal": {
|
2023-04-04 00:21:40 +02:00
|
|
|
"Proto": "$NETBIRD_SIGNAL_PROTOCOL",
|
|
|
|
"URI": "$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
},
|
2024-02-28 20:24:28 +01:00
|
|
|
"ReverseProxy": {
|
|
|
|
"TrustedHTTPProxies": [],
|
|
|
|
"TrustedHTTPProxiesCount": 0,
|
|
|
|
"TrustedPeers": [
|
|
|
|
"0.0.0.0/0"
|
|
|
|
]
|
|
|
|
},
|
2021-09-25 19:12:05 +02:00
|
|
|
"Datadir": "",
|
2023-10-11 23:01:49 +02:00
|
|
|
"DataStoreEncryptionKey": "$NETBIRD_DATASTORE_ENC_KEY",
|
2023-10-16 11:19:39 +02:00
|
|
|
"StoreConfig": {
|
|
|
|
"Engine": "$NETBIRD_STORE_CONFIG_ENGINE"
|
|
|
|
},
|
2021-09-25 19:12:05 +02:00
|
|
|
"HttpConfig": {
|
2022-05-22 18:53:47 +02:00
|
|
|
"Address": "0.0.0.0:$NETBIRD_MGMT_API_PORT",
|
2022-08-17 21:44:20 +02:00
|
|
|
"AuthIssuer": "$NETBIRD_AUTH_AUTHORITY",
|
|
|
|
"AuthAudience": "$NETBIRD_AUTH_AUDIENCE",
|
|
|
|
"AuthKeysLocation": "$NETBIRD_AUTH_JWT_CERTS",
|
2023-02-03 21:47:20 +01:00
|
|
|
"AuthUserIDClaim": "$NETBIRD_AUTH_USER_ID_CLAIM",
|
2022-05-22 18:53:47 +02:00
|
|
|
"CertFile":"$NETBIRD_MGMT_API_CERT_FILE",
|
2022-08-24 14:37:18 +02:00
|
|
|
"CertKey":"$NETBIRD_MGMT_API_CERT_KEY_FILE",
|
2023-10-18 18:03:51 +02:00
|
|
|
"IdpSignKeyRefreshEnabled": $NETBIRD_MGMT_IDP_SIGNKEY_REFRESH,
|
2022-08-24 14:37:18 +02:00
|
|
|
"OIDCConfigEndpoint":"$NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT"
|
2022-01-24 11:21:30 +01:00
|
|
|
},
|
|
|
|
"IdpManagerConfig": {
|
2023-06-02 17:34:36 +02:00
|
|
|
"ManagerType": "$NETBIRD_MGMT_IDP",
|
|
|
|
"ClientConfig": {
|
|
|
|
"Issuer": "$NETBIRD_AUTH_AUTHORITY",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
|
|
|
"ClientID": "$NETBIRD_IDP_MGMT_CLIENT_ID",
|
|
|
|
"ClientSecret": "$NETBIRD_IDP_MGMT_CLIENT_SECRET",
|
|
|
|
"GrantType": "client_credentials"
|
|
|
|
},
|
2023-10-19 20:07:25 +02:00
|
|
|
"ExtraConfig": $NETBIRD_IDP_MGMT_EXTRA_CONFIG,
|
|
|
|
"Auth0ClientCredentials": null,
|
|
|
|
"AzureClientCredentials": null,
|
|
|
|
"KeycloakClientCredentials": null,
|
|
|
|
"ZitadelClientCredentials": null
|
2022-08-24 14:37:18 +02:00
|
|
|
},
|
|
|
|
"DeviceAuthorizationFlow": {
|
|
|
|
"Provider": "$NETBIRD_AUTH_DEVICE_AUTH_PROVIDER",
|
|
|
|
"ProviderConfig": {
|
2023-04-04 15:56:02 +02:00
|
|
|
"Audience": "$NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE",
|
2023-10-19 20:07:25 +02:00
|
|
|
"AuthorizationEndpoint": "",
|
2022-08-24 14:37:18 +02:00
|
|
|
"Domain": "$NETBIRD_AUTH0_DOMAIN",
|
|
|
|
"ClientID": "$NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID",
|
2023-10-19 20:07:25 +02:00
|
|
|
"ClientSecret": "",
|
2022-08-24 14:37:18 +02:00
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
2023-04-05 21:57:47 +02:00
|
|
|
"DeviceAuthEndpoint": "$NETBIRD_AUTH_DEVICE_AUTH_ENDPOINT",
|
|
|
|
"Scope": "$NETBIRD_AUTH_DEVICE_AUTH_SCOPE",
|
2023-10-19 20:07:25 +02:00
|
|
|
"UseIDToken": $NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN,
|
|
|
|
"RedirectURLs": null
|
2022-08-24 14:37:18 +02:00
|
|
|
}
|
2023-07-27 11:31:07 +02:00
|
|
|
},
|
|
|
|
"PKCEAuthorizationFlow": {
|
|
|
|
"ProviderConfig": {
|
2023-10-03 19:33:42 +02:00
|
|
|
"Audience": "$NETBIRD_AUTH_PKCE_AUDIENCE",
|
2023-07-27 11:31:07 +02:00
|
|
|
"ClientID": "$NETBIRD_AUTH_CLIENT_ID",
|
|
|
|
"ClientSecret": "$NETBIRD_AUTH_CLIENT_SECRET",
|
2023-10-19 20:07:25 +02:00
|
|
|
"Domain": "",
|
2023-07-27 11:31:07 +02:00
|
|
|
"AuthorizationEndpoint": "$NETBIRD_AUTH_PKCE_AUTHORIZATION_ENDPOINT",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
|
|
|
"Scope": "$NETBIRD_AUTH_SUPPORTED_SCOPES",
|
|
|
|
"RedirectURLs": [$NETBIRD_AUTH_PKCE_REDIRECT_URLS],
|
2023-10-25 17:51:05 +02:00
|
|
|
"UseIDToken": $NETBIRD_AUTH_PKCE_USE_ID_TOKEN
|
2023-07-27 11:31:07 +02:00
|
|
|
}
|
2022-08-24 14:37:18 +02:00
|
|
|
}
|
2023-02-03 21:47:20 +01:00
|
|
|
}
|