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

127 строки
6.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. # Project source code URL: https://github.com/matrix-org/sygnal
  5. matrix_sygnal_enabled: true
  6. # The hostname at which Sygnal is served.
  7. matrix_sygnal_hostname: ''
  8. # The path at which Sygnal is exposed.
  9. # This value must either be `/` or not end with a slash (e.g. `/sygnal`).
  10. matrix_sygnal_path_prefix: /
  11. # renovate: datasource=docker depName=matrixdotorg/sygnal
  12. matrix_sygnal_version: v0.13.0
  13. matrix_sygnal_base_path: "{{ matrix_base_data_path }}/sygnal"
  14. matrix_sygnal_config_path: "{{ matrix_sygnal_base_path }}/config"
  15. matrix_sygnal_data_path: "{{ matrix_sygnal_base_path }}/data"
  16. # List of systemd services that matrix-sygnal.service depends on.
  17. matrix_sygnal_systemd_required_services_list: ['docker.service']
  18. # List of systemd services that matrix-sygnal.service wants
  19. matrix_sygnal_systemd_wanted_services_list: []
  20. matrix_sygnal_docker_image: "{{ matrix_sygnal_docker_image_registry_prefix }}matrixdotorg/sygnal:{{ matrix_sygnal_docker_image_tag }}"
  21. matrix_sygnal_docker_image_tag: "{{ matrix_sygnal_version }}"
  22. matrix_sygnal_docker_image_registry_prefix: "{{ matrix_container_global_registry_prefix }}"
  23. matrix_sygnal_docker_image_force_pull: "{{ matrix_sygnal_docker_image.endswith(':latest') }}"
  24. # The base container network. It will be auto-created by this role if it doesn't exist already.
  25. matrix_sygnal_container_network: "{{ matrix_sygnal_identifier }}"
  26. # A list of additional container networks that the container would be connected to.
  27. # The role does not create these networks, so make sure they already exist.
  28. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  29. matrix_sygnal_container_additional_networks: []
  30. # Controls whether the matrix-sygnal container exposes its HTTP port (tcp/6000 in the container).
  31. #
  32. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:6000"), or empty string to not expose.
  33. matrix_sygnal_container_http_host_bind_port: ''
  34. # matrix_sygnal_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  35. # See `../templates/labels.j2` for details.
  36. #
  37. # To inject your own other container labels, see `matrix_sygnal_container_labels_additional_labels`.
  38. matrix_sygnal_container_labels_traefik_enabled: true
  39. matrix_sygnal_container_labels_traefik_docker_network: "{{ matrix_sygnal_container_network }}"
  40. matrix_sygnal_container_labels_traefik_hostname: "{{ matrix_sygnal_hostname }}"
  41. # The path prefix must either be `/` or not end with a slash (e.g. `/sygnal`).
  42. matrix_sygnal_container_labels_traefik_path_prefix: "{{ matrix_sygnal_path_prefix }}"
  43. matrix_sygnal_container_labels_traefik_rule: "Host(`{{ matrix_sygnal_container_labels_traefik_hostname }}`){% if matrix_sygnal_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_sygnal_container_labels_traefik_path_prefix }}`){% endif %}"
  44. matrix_sygnal_container_labels_traefik_priority: 0
  45. matrix_sygnal_container_labels_traefik_entrypoints: web-secure
  46. matrix_sygnal_container_labels_traefik_tls: "{{ matrix_sygnal_container_labels_traefik_entrypoints != 'web' }}"
  47. matrix_sygnal_container_labels_traefik_tls_certResolver: default # noqa var-naming
  48. # Controls which additional headers to attach to all HTTP responses.
  49. # To add your own headers, use `matrix_sygnal_container_labels_traefik_additional_response_headers_custom`
  50. matrix_sygnal_container_labels_traefik_additional_response_headers: "{{ matrix_sygnal_container_labels_traefik_additional_response_headers_auto | combine(matrix_sygnal_container_labels_traefik_additional_response_headers_custom) }}"
  51. matrix_sygnal_container_labels_traefik_additional_response_headers_auto: {}
  52. matrix_sygnal_container_labels_traefik_additional_response_headers_custom: {}
  53. # matrix_sygnal_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  54. # See `../templates/labels.j2` for details.
  55. #
  56. # Example:
  57. # matrix_sygnal_container_labels_additional_labels: |
  58. # my.label=1
  59. # another.label="here"
  60. matrix_sygnal_container_labels_additional_labels: ''
  61. # A list of extra arguments to pass to the container
  62. matrix_sygnal_container_extra_arguments: []
  63. # A map (dictionary) of apps instances that this server works with.
  64. #
  65. # Example configuration:
  66. #
  67. # matrix_sygnal_apps:
  68. # com.example.myapp.ios:
  69. # type: apns
  70. # # .. more configuration ..
  71. # com.example.myapp.android:
  72. # type: gcm
  73. # api_key: your_api_key_for_gcm
  74. # # .. more configuration ..
  75. #
  76. # The APNS configuration needs to reference some certificate files.
  77. # One can put these in the `matrix_sygnal_data_path` directory (`/matrix/sygnal/data`), mounted to `/data` in the container.
  78. # The `matrix_sygnal_apps` paths need to use the in-container path (`/data`).
  79. # To install these files via the playbook, one can use the `matrix-aux` role.
  80. # Examples and more details are available in `docs/configuring-playbook-sygnal.md`.
  81. matrix_sygnal_apps: []
  82. matrix_sygnal_metrics_prometheus_enabled: false
  83. # Default Sygnal configuration template which covers the generic use case.
  84. # You can customize it by controlling the various variables inside it.
  85. #
  86. # For a more advanced customization, you can extend the default (see `matrix_sygnal_configuration_extension_yaml`)
  87. # or completely replace this variable with your own template.
  88. matrix_sygnal_configuration_yaml: "{{ lookup('template', 'templates/sygnal.yaml.j2') }}"
  89. matrix_sygnal_configuration_extension_yaml: |
  90. # Your custom YAML configuration for Sygnal goes here.
  91. # This configuration extends the default starting configuration (`matrix_sygnal_configuration_yaml`).
  92. #
  93. # You can override individual variables from the default configuration, or introduce new ones.
  94. #
  95. # If you need something more special, you can take full control by
  96. # completely redefining `matrix_sygnal_configuration_yaml`.
  97. #
  98. # Example configuration extension follows:
  99. # metrics:
  100. # opentracing:
  101. # enabled: true
  102. matrix_sygnal_configuration_extension: "{{ matrix_sygnal_configuration_extension_yaml | from_yaml if matrix_sygnal_configuration_extension_yaml | from_yaml is mapping else {} }}"
  103. # Holds the final sygnal configuration (a combination of the default and its extension).
  104. # You most likely don't need to touch this variable. Instead, see `matrix_sygnal_configuration_yaml`.
  105. matrix_sygnal_configuration: "{{ matrix_sygnal_configuration_yaml | from_yaml | combine(matrix_sygnal_configuration_extension, recursive=True) }}"