Matrix Docker Ansible eploy
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
1.4 KiB

  1. [server]
  2. root_url = "https://{{ matrix_server_fqn_grafana }}"
  3. [security]
  4. # default admin user, created on startup
  5. admin_user = "{{ matrix_grafana_default_admin_user }}"
  6. # default admin password, can be changed before first start of grafana, or in profile settings
  7. admin_password = """{{ matrix_grafana_default_admin_password }}"""
  8. # specify content_security_policy to add the Content-Security-Policy header to your requests
  9. content_security_policy = "{{ matrix_grafana_content_security_policy }}"
  10. # specify content security policy template to customized template
  11. {% if matrix_grafana_content_security_policy_customized %}
  12. content_security_policy_template = """script-src http: https: 'unsafe-inline' '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';"""
  13. {% endif %}
  14. [auth.anonymous]
  15. # enable anonymous access
  16. enabled = {{ matrix_grafana_anonymous_access }}
  17. # specify organization name that should be used for unauthenticated users
  18. org_name = "{{ matrix_grafana_anonymous_access_org_name }}"
  19. [dashboards]
  20. {% if matrix_synapse_metrics_enabled %}
  21. default_home_dashboard_path = /etc/grafana/dashboards/synapse.json
  22. {% else %}
  23. default_home_dashboard_path = /etc/grafana/dashboards/node-exporter-full.json
  24. {% endif %}