grafana auth

main
Alpha Chen 3 weeks ago
parent e1466baf0f
commit ea3e34a304
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -21,10 +21,17 @@
[metrics] [metrics]
enabled = true enabled = true
disable_total_stats = false disable_total_stats = false
[server] [server]
domain = grafana.{{ domain }} domain = grafana.{{ domain }}
http_addr = 0.0.0.0 http_addr = 0.0.0.0
root_url = https://grafana.{{ domain }} root_url = https://grafana.{{ domain }}
# https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication
[auth]
oauth_allow_insecure_email_lookup = true
disable_signout_menu = true
[auth.generic_oauth] [auth.generic_oauth]
enabled = true enabled = true
name = Authelia name = Authelia
@ -40,6 +47,7 @@
groups_attribute_path = groups groups_attribute_path = groups
name_attribute_path = name name_attribute_path = name
use_pkce = true use_pkce = true
auto_login = true
mode: "0644" mode: "0644"
- name: Provision Prometheus - name: Provision Prometheus

Loading…
Cancel
Save