Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

65 wiersze
3.4 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.5.1
  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. # When `false`, sends a `X-Frame-Options: deny` HTTP header, which allows Grafana from being embeded in a frame.
  20. # Read more here: https://grafana.com/docs/grafana/latest/administration/configuration/#allow_embedding
  21. matrix_grafana_allow_embedding: false
  22. # specify organization name that should be used for unauthenticated users
  23. # if you change this in the Grafana admin panel, this needs to be updated
  24. # to match to keep anonymous logins working
  25. matrix_grafana_anonymous_access_org_name: 'Main Org.'
  26. # default admin credentials, you are asked to change these on first login
  27. matrix_grafana_default_admin_user: admin
  28. matrix_grafana_default_admin_password: admin
  29. # Set to true to add the Content-Security-Policy header to your requests.
  30. # CSP allows to control resources that the user agent can load and helps
  31. # prevent XSS attacks.
  32. # [Content Security Policy](https://grafana.com/docs/grafana/latest/administration/configuration/#content_security_policy)
  33. matrix_grafana_content_security_policy: true
  34. # specify content security policy template to customized template
  35. # added https: and http: url schemes (ignored by browsers supporting 'strict-dynamic') to be backward compatible with older browsers.
  36. # [Content Security Policy Browser Test] (https://content-security-policy.com/browser-test/)
  37. # [Content Security Policy Reference](https://content-security-policy.com/script-src/)
  38. matrix_grafana_content_security_policy_customized: false
  39. 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';"
  40. # A list of extra arguments to pass to the container
  41. matrix_grafana_container_extra_arguments: []
  42. # List of systemd services that matrix-grafana.service depends on
  43. matrix_grafana_systemd_required_services_list: ['docker.service']
  44. # List of systemd services that matrix-grafana.service wants
  45. matrix_grafana_systemd_wanted_services_list: []
  46. # Controls whether the matrix-grafana container exposes its HTTP port (tcp/3000 in the container).
  47. #
  48. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:3000"), or empty string to not expose.
  49. matrix_grafana_container_http_host_bind_port: ''