Files
homelab-infra/services/netbird/templates/config.yaml.j2
T

35 lines
915 B
Django/Jinja

# Конфиг netbird-server. Собирает плейбук. Ключи берутся из фактов, не из git.
server:
listenAddress: ":80"
exposedAddress: "https://central.gunihome.ru:443"
stunPorts:
- 3478
metricsPort: 9090
healthcheckAddress: ":9000"
logLevel: "info"
logFile: "console"
authSecret: "{{ netbird_auth_secret }}"
dataDir: "/var/lib/netbird"
auth:
issuer: "https://central.gunihome.ru/oauth2"
signKeyRefreshEnabled: true
sessionCookieEncryptionKey: "{{ netbird_session_key }}"
dashboardRedirectURIs:
- "https://central.gunihome.ru/nb-auth"
- "https://central.gunihome.ru/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 }}"