# Managed by Asnible app_mode = production instance_name = monitoring # Directories [paths] data = /var/lib/grafana logs = /var/log/grafana plugins = /var/lib/grafana/plugins # HTTP options [server] http_addr = {{ grafana_address }} http_port = {{ grafana_port }} domain = {{ grafana_domain }} root_url = {{ grafana_url }} protocol = http enforce_domain = False socket = cert_key = cert_file = enable_gzip = False static_root_path = public router_logging = False serve_from_sub_path = False # Database [database] type = sqlite3 # Remote cache [remote_cache] # Security [security] admin_user = admin admin_password = {{ grafana_admin_password }} # Users management and registration [users] allow_sign_up = False auto_assign_org_role = Viewer default_theme = dark [emails] welcome_email_on_sign_up = False # Analytics [analytics] reporting_enabled = "True" # Dashboards [dashboards] versions_to_keep = 20 [dashboards.json] enabled = true path = /var/lib/grafana/dashboards # SMTP and email config # Logging [log] mode = console, file level = info # Grafana.com configuration [grafana_com] url = https://grafana.com [auth] oauth_allow_insecure_email_lookup=true [auth.anonymous] enabled = true org_name = Bitlair org_role = Viewer [auth.ldap] enabled = true config_file = /etc/grafana/ldap.toml allow_sign_up = true