2021-09-25 19:12:05 +02:00
|
|
|
{
|
|
|
|
"Stuns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2022-05-22 18:53:47 +02:00
|
|
|
"URI": "stun:$NETBIRD_DOMAIN:3478",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"TURNConfig": {
|
|
|
|
"Turns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2022-05-22 18:53:47 +02:00
|
|
|
"URI": "turn:$NETBIRD_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
|
|
|
|
},
|
|
|
|
"Signal": {
|
|
|
|
"Proto": "http",
|
2022-05-22 18:53:47 +02:00
|
|
|
"URI": "$NETBIRD_DOMAIN:10000",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
},
|
|
|
|
"Datadir": "",
|
|
|
|
"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",
|
|
|
|
"OIDCConfigEndpoint":"$NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT"
|
2022-01-24 11:21:30 +01:00
|
|
|
},
|
|
|
|
"IdpManagerConfig": {
|
2022-03-05 11:20:04 +01:00
|
|
|
"Manager": "none"
|
2022-08-24 14:37:18 +02:00
|
|
|
},
|
|
|
|
"DeviceAuthorizationFlow": {
|
|
|
|
"Provider": "$NETBIRD_AUTH_DEVICE_AUTH_PROVIDER",
|
|
|
|
"ProviderConfig": {
|
|
|
|
"Audience": "$NETBIRD_AUTH_AUDIENCE",
|
|
|
|
"Domain": "$NETBIRD_AUTH0_DOMAIN",
|
|
|
|
"ClientID": "$NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
|
|
|
"DeviceAuthEndpoint": "$NETBIRD_AUTH_DEVICE_AUTH_ENDPOINT"
|
|
|
|
}
|
|
|
|
}
|
2023-02-03 21:47:20 +01:00
|
|
|
}
|