Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.2 KiB

  1. ---
  2. # matrix-grafana is open source visualization and analytics software
  3. # See: https://github.com/matrix-org/synapse/blob/master/docs/metrics-howto.md
  4. matrix_grafana_enabled: false
  5. matrix_grafana_version: 8.3.4
  6. matrix_grafana_docker_image: "{{ matrix_container_global_registry_prefix }}grafana/grafana:{{ matrix_grafana_version }}"
  7. matrix_grafana_docker_image_force_pull: "{{ matrix_grafana_docker_image.endswith(':latest') }}"
  8. # Not conditional, because when someone disables metrics
  9. # they might still want to look at the old existing data.
  10. # So it would be silly to delete the dashboard in such case.
  11. matrix_grafana_dashboard_download_urls:
  12. - "https://raw.githubusercontent.com/matrix-org/synapse/master/contrib/grafana/synapse.json"
  13. - "https://raw.githubusercontent.com/rfrail3/grafana-dashboards/master/prometheus/node-exporter-full.json"
  14. matrix_grafana_base_path: "{{ matrix_base_data_path }}/grafana"
  15. matrix_grafana_config_path: "{{ matrix_grafana_base_path }}/config"
  16. matrix_grafana_data_path: "{{ matrix_grafana_base_path }}/data"
  17. # Allow viewing Grafana without logging in
  18. matrix_grafana_anonymous_access: false
  19. # specify organization name that should be used for unauthenticated users
  20. # if you change this in the Grafana admin panel, this needs to be updated
  21. # to match to keep anonymous logins working
  22. matrix_grafana_anonymous_access_org_name: 'Main Org.'
  23. # default admin credentials, you are asked to change these on first login
  24. matrix_grafana_default_admin_user: admin
  25. matrix_grafana_default_admin_password: admin
  26. # Set to true to add the Content-Security-Policy header to your requests.
  27. # CSP allows to control resources that the user agent can load and helps
  28. # prevent XSS attacks.
  29. # [Content Security Policy](https://grafana.com/docs/grafana/latest/administration/configuration/#content_security_policy)
  30. matrix_grafana_content_security_policy: true
  31. # specify content security policy template to customized template
  32. # added https: and http: url schemes (ignored by browsers supporting 'strict-dynamic') to be backward compatible with older browsers.
  33. # [Content Security Policy Browser Test] (https://content-security-policy.com/browser-test/)
  34. # [Content Security Policy Reference](https://content-security-policy.com/script-src/)
  35. matrix_grafana_content_security_policy_customized: false
  36. matrix_grafana_content_security_policy_template: "script-src 'self' 'unsafe-eval' 'unsafe-inline' http: https: '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';"
  37. # A list of extra arguments to pass to the container
  38. matrix_grafana_container_extra_arguments: []
  39. # List of systemd services that matrix-grafana.service depends on
  40. matrix_grafana_systemd_required_services_list: ['docker.service']
  41. # List of systemd services that matrix-grafana.service wants
  42. matrix_grafana_systemd_wanted_services_list: []
  43. # Controls whether the matrix-grafana container exposes its HTTP port (tcp/3000 in the container).
  44. #
  45. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:3000"), or empty string to not expose.
  46. matrix_grafana_container_http_host_bind_port: ''