Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

131 行
6.7 KiB

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