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ů.
 
 

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