Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

77 řádky
3.5 KiB

  1. ---
  2. # Sygnal is a reference Push Gateway for Matrix.
  3. # To make use of it for delivering push notificatins, you'll need to develop/build your own Matrix app.
  4. # Learn more here: https://github.com/matrix-org/sygnal
  5. matrix_sygnal_enabled: false
  6. matrix_sygnal_base_path: "{{ matrix_base_data_path }}/sygnal"
  7. matrix_sygnal_config_path: "{{ matrix_sygnal_base_path }}/config"
  8. matrix_sygnal_data_path: "{{ matrix_sygnal_base_path }}/data"
  9. matrix_sygnal_version: v0.11.0
  10. matrix_sygnal_docker_image: "{{ matrix_container_global_registry_prefix }}matrixdotorg/sygnal:{{ matrix_sygnal_version }}"
  11. matrix_sygnal_docker_image_force_pull: "{{ matrix_sygnal_docker_image.endswith(':latest') }}"
  12. # List of systemd services that matrix-sygnal.service depends on.
  13. matrix_sygnal_systemd_required_services_list: ['docker.service']
  14. # List of systemd services that matrix-sygnal.service wants
  15. matrix_sygnal_systemd_wanted_services_list: []
  16. # Controls whether the matrix-sygnal container exposes its HTTP port (tcp/6000 in the container).
  17. #
  18. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:6000"), or empty string to not expose.
  19. matrix_sygnal_container_http_host_bind_port: ''
  20. # A list of extra arguments to pass to the container
  21. matrix_sygnal_container_extra_arguments: []
  22. # A map (dictionary) of apps instances that this server works with.
  23. #
  24. # Example configuration:
  25. #
  26. # matrix_sygnal_apps:
  27. # com.example.myapp.ios:
  28. # type: apns
  29. # # .. more configuration ..
  30. # com.example.myapp.android:
  31. # type: gcm
  32. # api_key: your_api_key_for_gcm
  33. # # .. more configuration ..
  34. #
  35. # The APNS configuration needs to reference some certificate files.
  36. # One can put these in the `matrix_sygnal_data_path` directory (`/matrix/sygnal/data`), mounted to `/data` in the container.
  37. # The `matrix_sygnal_apps` paths need to use the in-container path (`/data`).
  38. # To install these files via the playbook, one can use the `matrix-aux` role.
  39. # Examples and more details are available in `docs/configuring-playbook-sygnal.md`.
  40. matrix_sygnal_apps: []
  41. matrix_sygnal_metrics_prometheus_enabled: false
  42. # Default Sygnal configuration template which covers the generic use case.
  43. # You can customize it by controlling the various variables inside it.
  44. #
  45. # For a more advanced customization, you can extend the default (see `matrix_sygnal_configuration_extension_yaml`)
  46. # or completely replace this variable with your own template.
  47. matrix_sygnal_configuration_yaml: "{{ lookup('template', 'templates/sygnal.yaml.j2') }}"
  48. matrix_sygnal_configuration_extension_yaml: |
  49. # Your custom YAML configuration for Sygnal goes here.
  50. # This configuration extends the default starting configuration (`matrix_sygnal_configuration_yaml`).
  51. #
  52. # You can override individual variables from the default configuration, or introduce new ones.
  53. #
  54. # If you need something more special, you can take full control by
  55. # completely redefining `matrix_sygnal_configuration_yaml`.
  56. #
  57. # Example configuration extension follows:
  58. # metrics:
  59. # opentracing:
  60. # enabled: true
  61. matrix_sygnal_configuration_extension: "{{ matrix_sygnal_configuration_extension_yaml|from_yaml if matrix_sygnal_configuration_extension_yaml|from_yaml is mapping else {} }}"
  62. # Holds the final sygnal configuration (a combination of the default and its extension).
  63. # You most likely don't need to touch this variable. Instead, see `matrix_sygnal_configuration_yaml`.
  64. matrix_sygnal_configuration: "{{ matrix_sygnal_configuration_yaml|from_yaml|combine(matrix_sygnal_configuration_extension, recursive=True) }}"