35 lines
919 B
Django/Jinja
35 lines
919 B
Django/Jinja
# Конфиг netbird-server. Собирает плейбук. Ключи берутся из фактов, не из git.
|
|
|
|
server:
|
|
listenAddress: ":80"
|
|
exposedAddress: "https://{{ netbird_domain }}:443"
|
|
stunPorts:
|
|
- 3478
|
|
metricsPort: 9090
|
|
healthcheckAddress: ":9000"
|
|
logLevel: "info"
|
|
logFile: "console"
|
|
|
|
authSecret: "{{ netbird_auth_secret }}"
|
|
dataDir: "/var/lib/netbird"
|
|
|
|
auth:
|
|
issuer: "https://{{ netbird_domain }}/oauth2"
|
|
signKeyRefreshEnabled: true
|
|
sessionCookieEncryptionKey: "{{ netbird_session_key }}"
|
|
dashboardRedirectURIs:
|
|
- "https://{{ netbird_domain }}/nb-auth"
|
|
- "https://{{ netbird_domain }}/nb-silent-auth"
|
|
cliRedirectURIs:
|
|
- "http://localhost:53000/"
|
|
|
|
reverseProxy:
|
|
trustedHTTPProxies:
|
|
- "172.30.0.10/32"
|
|
trustedPeers:
|
|
- "172.30.0.10/32"
|
|
|
|
store:
|
|
engine: "sqlite"
|
|
encryptionKey: "{{ netbird_datastore_key }}"
|