monitoring-ng/grafana_custom.ini

38 lines
756 B
INI
Raw Normal View History

2022-03-31 12:26:41 +00:00
[analytics]
reporting_enabled = false
[snapshots]
external_enabled = false
[users]
auto_assign_org_role = Admin
2023-02-11 16:17:50 +00:00
{{ if eq (env "OIDC_ENABLED") "1" }}
2022-03-31 12:26:41 +00:00
[auth]
disable_login_form = true
2023-07-11 12:59:37 +00:00
oauth_allow_insecure_email_lookup=true # https://github.com/grafana/grafana/issues/70203
2022-03-31 12:26:41 +00:00
[auth.generic_oauth]
enabled = true
scopes = openid email profile
2023-02-11 16:17:50 +00:00
name = oauth
2022-03-31 12:26:41 +00:00
icon = signin
tls_skip_verify_insecure = false
allow_sign_up = true
2023-05-24 10:26:49 +00:00
auto_login = true
2023-02-11 16:17:50 +00:00
client_id = {{ env "OIDC_CLIENT_ID" }}
client_secret = {{ secret "grafana_oidc_client_secret" }}
auth_url = {{ env "OIDC_AUTH_URL" }}
token_url = {{ env "OIDC_TOKEN_URL" }}
api_url = {{ env "OIDC_API_URL" }}
2022-03-31 12:26:41 +00:00
[auth.basic]
enabled = false
2023-02-11 16:17:50 +00:00
{{ end }}
2022-03-31 12:26:41 +00:00
[plugins]
2023-07-11 12:59:37 +00:00
enable_alpha = true
[database]
type = sqlite3
wal = true