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.
 
 

74 line
4.1 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. # Project source code URL: https://github.com/grafana/grafana
  5. matrix_grafana_enabled: false
  6. matrix_grafana_version: 9.1.6
  7. matrix_grafana_docker_image: "{{ matrix_container_global_registry_prefix }}grafana/grafana:{{ matrix_grafana_version }}"
  8. matrix_grafana_docker_image_force_pull: "{{ matrix_grafana_docker_image.endswith(':latest') }}"
  9. # Not conditional, because when someone disables metrics
  10. # they might still want to look at the old existing data.
  11. # So it would be silly to delete the dashboard in such case.
  12. matrix_grafana_dashboard_download_urls:
  13. - "https://raw.githubusercontent.com/matrix-org/synapse/master/contrib/grafana/synapse.json"
  14. - "https://raw.githubusercontent.com/rfrail3/grafana-dashboards/master/prometheus/node-exporter-full.json"
  15. # matrix_grafana_dashboard_download_urls_all contains the full list (of URLs) of dashboards to download.
  16. # This variable is overriden elsewhere and additional URLs are injected into it (besides those seen in `matrix_grafana_dashboard_download_urls`) based on the enabled components.
  17. matrix_grafana_dashboard_download_urls_all: "{{ matrix_grafana_dashboard_download_urls }}"
  18. matrix_grafana_base_path: "{{ matrix_base_data_path }}/grafana"
  19. matrix_grafana_config_path: "{{ matrix_grafana_base_path }}/config"
  20. matrix_grafana_data_path: "{{ matrix_grafana_base_path }}/data"
  21. # Allow viewing Grafana without logging in
  22. matrix_grafana_anonymous_access: false
  23. # When `false`, sends a `X-Frame-Options: deny` HTTP header, which allows Grafana from being embeded in a frame.
  24. # Read more here: https://grafana.com/docs/grafana/latest/administration/configuration/#allow_embedding
  25. matrix_grafana_allow_embedding: false
  26. # specify organization name that should be used for unauthenticated users
  27. # if you change this in the Grafana admin panel, this needs to be updated
  28. # to match to keep anonymous logins working
  29. matrix_grafana_anonymous_access_org_name: 'Main Org.'
  30. # default admin credentials, you are asked to change these on first login
  31. matrix_grafana_default_admin_user: admin
  32. matrix_grafana_default_admin_password: admin
  33. # Set to true to add the Content-Security-Policy header to your requests.
  34. # CSP allows to control resources that the user agent can load and helps
  35. # prevent XSS attacks.
  36. # [Content Security Policy](https://grafana.com/docs/grafana/latest/administration/configuration/#content_security_policy)
  37. matrix_grafana_content_security_policy: true
  38. # specify content security policy template to customized template
  39. # added https: and http: url schemes (ignored by browsers supporting 'strict-dynamic') to be backward compatible with older browsers.
  40. # [Content Security Policy Browser Test] (https://content-security-policy.com/browser-test/)
  41. # [Content Security Policy Reference](https://content-security-policy.com/script-src/)
  42. matrix_grafana_content_security_policy_customized: false
  43. 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';"
  44. # matrix_grafana_default_home_dashboard_path influences the `default_home_dashboard_path` grafana.ini setting,
  45. # which is an in-container path for the default dashboard.
  46. matrix_grafana_default_home_dashboard_path: /etc/grafana/dashboards/node-exporter-full.json
  47. # A list of extra arguments to pass to the container
  48. matrix_grafana_container_extra_arguments: []
  49. # List of systemd services that matrix-grafana.service depends on
  50. matrix_grafana_systemd_required_services_list: ['docker.service']
  51. # List of systemd services that matrix-grafana.service wants
  52. matrix_grafana_systemd_wanted_services_list: []
  53. # Controls whether the matrix-grafana container exposes its HTTP port (tcp/3000 in the container).
  54. #
  55. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:3000"), or empty string to not expose.
  56. matrix_grafana_container_http_host_bind_port: ''