grafana: Erweitere Konfigurationsdatei

This commit is contained in:
phil 2022-12-29 10:03:18 +01:00
parent dca531fa26
commit 8a02ac93aa

View file

@ -1,7 +1,10 @@
# {{ ansible_managed }} # {{ ansible_managed }}
[server] [server]
protocoll = https
domain = {{ grafana.domain }} domain = {{ grafana.domain }}
enforce_domain = true
root_url = https://{{ grafana.domain }}
[database] [database]
type = mysql type = mysql
@ -10,6 +13,13 @@ name = {{ grafana_db }}
user = {{ grafana_db_user }} user = {{ grafana_db_user }}
password = {{ grafana_db_password }} password = {{ grafana_db_password }}
[session]
cookie_secure = true
[analytics]
reporting_enabled = false
check_for_updates = false
[security] [security]
disable_gravatar = true disable_gravatar = true
cookie_secure = true cookie_secure = true
@ -23,5 +33,13 @@ x_xss_protection = true
content_security_policy = true content_security_policy = true
content_security_policy_template = """script-src 'unsafe-eval' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data:;base-uri 'self';connect-src 'self' grafana.com;manifest-src 'self';media-src 'none';form-action 'self';""" content_security_policy_template = """script-src 'unsafe-eval' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data:;base-uri 'self';connect-src 'self' grafana.com;manifest-src 'self';media-src 'none';form-action 'self';"""
[users]
allow_sign_up = false
default_locale = de-DE
[auth.anonymous] [auth.anonymous]
enabled = false enabled = false
[plugin.grafana-image-renderer]
rendering_timezone = Europe/Berlin
rendering_language = de-DE