Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

60 строки
3.2 KiB

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