grafana.ini 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [server]
  2. domain = monitoring.apiote.xyz
  3. enforce_domain = true
  4. enable_gzip = false
  5. [database]
  6. # Either "mysql", "postgres" or "sqlite3", it's your choice
  7. type = postgres
  8. host = 127.0.0.1:5432
  9. name = grafana
  10. user = grafana
  11. password = $__file{/usr/share/grafana/conf/db_pass}
  12. [analytics]
  13. reporting_enabled = false
  14. check_for_updates = false
  15. [security]
  16. secret_key = $__file{/usr/share/grafana/conf/security_secret}
  17. disable_gravatar = true
  18. cookie_secure = true
  19. ;content_security_policy = true
  20. ;content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
  21. [users]
  22. allow_sign_up = false
  23. allow_org_create = false
  24. [smtp]
  25. enabled = true
  26. host = smtp.migadu.com:465
  27. user = monitoring@apiote.xyz
  28. password = $__file{/usr/share/grafana/conf/smtp_secret}
  29. from_address = monitoring@apiote.xyz
  30. from_name = Monitoring
  31. [emails]
  32. ;welcome_email_on_sign_up = false
  33. ;templates_pattern = emails/*.html, emails/*.txt
  34. ;content_types = text/html