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

364 行
24 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2023 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
  3. # SPDX-FileCopyrightText: 2022 Aaron Raimist
  4. # SPDX-FileCopyrightText: 2022 Darren Rambaud
  5. # SPDX-FileCopyrightText: 2022 Jip J. Dekker
  6. # SPDX-FileCopyrightText: 2022 Marko Weltzer
  7. # SPDX-FileCopyrightText: 2022 Nikita Chernyi
  8. # SPDX-FileCopyrightText: 2022 Shaleen Jain
  9. # SPDX-FileCopyrightText: 2023 Isaiah Becker-Mayer
  10. # SPDX-FileCopyrightText: 2023 Samuel Meenzen
  11. # SPDX-FileCopyrightText: 2024 Suguru Hirahara
  12. #
  13. # SPDX-License-Identifier: AGPL-3.0-or-later
  14. ---
  15. # Dendrite is a second-generation Matrix homeserver currently in Beta
  16. # Project source code URL: https://github.com/matrix-org/dendrite
  17. matrix_dendrite_enabled: true
  18. matrix_dendrite_hostname: ''
  19. matrix_dendrite_container_image_self_build: false
  20. matrix_dendrite_container_image_self_build_repo: "https://github.com/matrix-org/dendrite.git"
  21. matrix_dendrite_docker_image_path: "matrixdotorg/dendrite-monolith"
  22. matrix_dendrite_docker_image: "{{ matrix_dendrite_docker_image_registry_prefix }}{{ matrix_dendrite_docker_image_path }}:{{ matrix_dendrite_docker_image_tag }}"
  23. matrix_dendrite_docker_image_registry_prefix: "{{ 'localhost/' if matrix_dendrite_container_image_self_build else matrix_dendrite_docker_image_registry_prefix_upstream }}"
  24. matrix_dendrite_docker_image_registry_prefix_upstream: "{{ matrix_dendrite_docker_image_registry_prefix_upstream_default }}"
  25. matrix_dendrite_docker_image_registry_prefix_upstream_default: docker.io/
  26. # renovate: datasource=docker depName=matrixdotorg/dendrite-monolith
  27. matrix_dendrite_docker_image_tag: "v0.14.1"
  28. matrix_dendrite_docker_image_force_pull: "{{ matrix_dendrite_docker_image.endswith(':latest') }}"
  29. matrix_dendrite_base_path: "{{ matrix_base_data_path }}/dendrite"
  30. matrix_dendrite_config_dir_path: "{{ matrix_dendrite_base_path }}/config"
  31. matrix_dendrite_storage_path: "{{ matrix_dendrite_base_path }}/storage"
  32. matrix_dendrite_media_store_path: "{{ matrix_dendrite_storage_path }}/media-store"
  33. matrix_dendrite_nats_storage_path: "{{ matrix_dendrite_base_path }}/nats"
  34. matrix_dendrite_bin_path: "{{ matrix_dendrite_base_path }}/bin"
  35. matrix_dendrite_ext_path: "{{ matrix_dendrite_base_path }}/ext"
  36. matrix_dendrite_docker_src_files_path: "{{ matrix_dendrite_base_path }}/docker-src"
  37. # By default, we make Dendrite only serve HTTP (not HTTPS).
  38. # HTTPS is usually served at the reverse-proxy side.
  39. #
  40. # To enable HTTPS serving by Dendrite (directly):
  41. # - `matrix_dendrite_https_bind_port` must be set
  42. # - `-tls-cert` and `-tls-key` must be passed to Dendrite via `matrix_dendrite_process_extra_arguments`
  43. # - the TLS certificate files must be mounted into the container using `matrix_dendrite_container_additional_volumes`
  44. matrix_dendrite_http_bind_port: 8008
  45. matrix_dendrite_https_bind_port: ~
  46. # This is passed as an `-http-bind-address` flag to the Dendrite server in the container
  47. matrix_dendrite_http_bind_address: "{{ (':' + matrix_dendrite_http_bind_port | string) if matrix_dendrite_http_bind_port else '' }}"
  48. # This is passed as an `-https-bind-address` flag to the Dendrite server in the container
  49. matrix_dendrite_https_bind_address: "{{ (':' + matrix_dendrite_https_bind_port | string) if matrix_dendrite_https_bind_port else '' }}"
  50. # The base container network. It will be auto-created by this role if it doesn't exist already.
  51. matrix_dendrite_container_network: ""
  52. # A list of additional container networks that the container would be connected to.
  53. # The role does not create these networks, so make sure they already exist.
  54. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  55. matrix_dendrite_container_additional_networks: "{{ matrix_dendrite_container_additional_networks_auto + matrix_dendrite_container_additional_networks_custom }}"
  56. matrix_dendrite_container_additional_networks_auto: []
  57. matrix_dendrite_container_additional_networks_custom: []
  58. # Controls whether the matrix-dendrite container exposes the HTTP port (tcp/{{ matrix_dendrite_http_bind_port }} in the container).
  59. #
  60. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8008"), or empty string to not expose.
  61. matrix_dendrite_container_http_host_bind_address: ""
  62. # Controls whether the matrix-dendrite container exposes the HTTPS port (tcp/{{ matrix_dendrite_https_bind_port }} in the container).
  63. #
  64. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8448"), or empty string to not expose.
  65. matrix_dendrite_container_https_host_bind_address: ""
  66. # matrix_dendrite_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  67. # See `../templates/labels.j2` for details.
  68. #
  69. # To inject your own other container labels, see `matrix_dendrite_container_labels_additional_labels`.
  70. matrix_dendrite_container_labels_traefik_enabled: true
  71. matrix_dendrite_container_labels_traefik_docker_network: "{{ matrix_dendrite_container_network }}"
  72. matrix_dendrite_container_labels_traefik_entrypoints: web-secure
  73. matrix_dendrite_container_labels_traefik_tls_certResolver: default # noqa var-naming
  74. # Controls whether labels will be added for handling the root (/) path on a public Traefik entrypoint.
  75. matrix_dendrite_container_labels_public_client_root_enabled: true
  76. matrix_dendrite_container_labels_public_client_root_traefik_hostname: "{{ matrix_dendrite_hostname }}"
  77. matrix_dendrite_container_labels_public_client_root_traefik_rule: "Host(`{{ matrix_dendrite_container_labels_public_client_root_traefik_hostname }}`) && Path(`/`)"
  78. matrix_dendrite_container_labels_public_client_root_traefik_priority: 0
  79. matrix_dendrite_container_labels_public_client_root_traefik_entrypoints: "{{ matrix_dendrite_container_labels_traefik_entrypoints }}"
  80. matrix_dendrite_container_labels_public_client_root_traefik_tls: "{{ matrix_dendrite_container_labels_public_client_root_traefik_entrypoints != 'web' }}"
  81. matrix_dendrite_container_labels_public_client_root_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  82. matrix_dendrite_container_labels_public_client_root_redirection_enabled: false
  83. matrix_dendrite_container_labels_public_client_root_redirection_url: ""
  84. # Controls whether labels will be added that expose the Client-Server API on a public Traefik entrypoint.
  85. matrix_dendrite_container_labels_public_client_api_enabled: true
  86. matrix_dendrite_container_labels_public_client_api_traefik_hostname: "{{ matrix_dendrite_hostname }}"
  87. matrix_dendrite_container_labels_public_client_api_traefik_path_prefix: /_matrix
  88. matrix_dendrite_container_labels_public_client_api_traefik_rule: "Host(`{{ matrix_dendrite_container_labels_public_client_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_dendrite_container_labels_public_client_api_traefik_path_prefix }}`)"
  89. matrix_dendrite_container_labels_public_client_api_traefik_priority: 0
  90. matrix_dendrite_container_labels_public_client_api_traefik_entrypoints: "{{ matrix_dendrite_container_labels_traefik_entrypoints }}"
  91. matrix_dendrite_container_labels_public_client_api_traefik_tls: "{{ matrix_dendrite_container_labels_public_client_api_traefik_entrypoints != 'web' }}"
  92. matrix_dendrite_container_labels_public_client_api_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  93. # Controls whether labels will be added that expose the Client-Server API on the internal Traefik entrypoint.
  94. # This is similar to `matrix_dendrite_container_labels_public_client_api_enabled`, but the entrypoint and intent is different.
  95. matrix_dendrite_container_labels_internal_client_api_enabled: false
  96. matrix_dendrite_container_labels_internal_client_api_traefik_path_prefix: "{{ matrix_dendrite_container_labels_public_client_api_traefik_path_prefix }}"
  97. matrix_dendrite_container_labels_internal_client_api_traefik_rule: "PathPrefix(`{{ matrix_dendrite_container_labels_internal_client_api_traefik_path_prefix }}`)"
  98. matrix_dendrite_container_labels_internal_client_api_traefik_priority: "{{ matrix_dendrite_container_labels_public_client_api_traefik_priority }}"
  99. matrix_dendrite_container_labels_internal_client_api_traefik_entrypoints: ""
  100. # Controls whether labels will be added that expose the /_synapse/admin paths on a public Traefik entrypoint.
  101. # Following these recommendations (https://github.com/element-hq/synapse/blob/master/docs/reverse_proxy.md), by default, we don't.
  102. # Dendrite exposes some admin APIs under a Synapse-specific prefix.
  103. # See: https://matrix-org.github.io/dendrite/administration/adminapi
  104. matrix_dendrite_container_labels_public_client_synapse_admin_api_enabled: false
  105. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_hostname: "{{ matrix_dendrite_hostname }}"
  106. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_path_prefix: /_synapse/admin
  107. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_rule: "Host(`{{ matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_path_prefix }}`)"
  108. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_priority: 0
  109. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_entrypoints: "{{ matrix_dendrite_container_labels_traefik_entrypoints }}"
  110. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_tls: "{{ matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_entrypoints != 'web' }}"
  111. matrix_dendrite_container_labels_public_client_synapse_admin_api_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  112. # Controls whether labels will be added that expose the /_dendrite/admin paths on a public Traefik entrypoint.
  113. # See: https://matrix-org.github.io/dendrite/administration/adminapi
  114. matrix_dendrite_container_labels_public_client_dendrite_admin_api_enabled: false
  115. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_hostname: "{{ matrix_dendrite_hostname }}"
  116. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_path_prefix: /_dendrite/admin
  117. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_rule: "Host(`{{ matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_path_prefix }}`)"
  118. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_priority: 0
  119. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_entrypoints: "{{ matrix_dendrite_container_labels_traefik_entrypoints }}"
  120. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_tls: "{{ matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_entrypoints != 'web' }}"
  121. matrix_dendrite_container_labels_public_client_dendrite_admin_api_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  122. # Controls whether labels will be added that expose the Server-Server API (Federation API) on a public Traefik entrypoint.
  123. matrix_dendrite_container_labels_public_federation_api_enabled: "{{ matrix_dendrite_federation_enabled }}"
  124. matrix_dendrite_container_labels_public_federation_api_traefik_hostname: "{{ matrix_dendrite_hostname }}"
  125. matrix_dendrite_container_labels_public_federation_api_traefik_path_prefix: /_matrix
  126. matrix_dendrite_container_labels_public_federation_api_traefik_rule: "Host(`{{ matrix_dendrite_container_labels_public_federation_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_dendrite_container_labels_public_federation_api_traefik_path_prefix }}`)"
  127. matrix_dendrite_container_labels_public_federation_api_traefik_priority: 0
  128. matrix_dendrite_container_labels_public_federation_api_traefik_entrypoints: ''
  129. # TLS is force-enabled here, because the spec (https://spec.matrix.org/v1.9/server-server-api/#tls) says that the federation API must use HTTPS.
  130. matrix_dendrite_container_labels_public_federation_api_traefik_tls: true
  131. matrix_dendrite_container_labels_public_federation_api_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  132. # Controls whether labels will be added that expose Dendrite's metrics on a public Traefik entrypoint.
  133. matrix_dendrite_container_labels_public_metrics_enabled: "{{ matrix_dendrite_metrics_enabled and matrix_dendrite_metrics_proxying_enabled }}"
  134. matrix_dendrite_container_labels_public_metrics_traefik_rule: "Host(`{{ matrix_dendrite_metrics_proxying_hostname }}`) && PathPrefix(`{{ matrix_dendrite_metrics_proxying_path_prefix }}`)"
  135. matrix_dendrite_container_labels_public_metrics_traefik_priority: 0
  136. matrix_dendrite_container_labels_public_metrics_traefik_entrypoints: "{{ matrix_dendrite_container_labels_traefik_entrypoints }}"
  137. matrix_dendrite_container_labels_public_metrics_traefik_tls: "{{ matrix_dendrite_container_labels_public_metrics_traefik_entrypoints != 'web' }}"
  138. matrix_dendrite_container_labels_public_metrics_traefik_tls_certResolver: "{{ matrix_dendrite_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  139. matrix_dendrite_container_labels_public_metrics_middleware_basic_auth_enabled: false
  140. # See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
  141. matrix_dendrite_container_labels_public_metrics_middleware_basic_auth_users: ''
  142. # matrix_dendrite_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  143. # See `../templates/labels.j2` for details.
  144. #
  145. # Example:
  146. # matrix_dendrite_container_labels_additional_labels: |
  147. # my.label=1
  148. # another.label="here"
  149. matrix_dendrite_container_labels_additional_labels: ''
  150. # A list of extra arguments to pass to the container (`docker run` command)
  151. # Also see `matrix_dendrite_container_arguments`
  152. matrix_dendrite_container_extra_arguments: []
  153. # matrix_dendrite_container_extra_arguments_auto is a list of extra arguments to pass to the container.
  154. # This list is managed by the playbook. You're not meant to override this variable.
  155. # If you'd like to inject your own arguments, see `matrix_dendrite_container_extra_arguments`.
  156. matrix_dendrite_container_extra_arguments_auto: []
  157. # matrix_dendrite_container_arguments holds the final list of extra arguments to pass to the container.
  158. # You're not meant to override this variable.
  159. # If you'd like to inject your own arguments, see `matrix_dendrite_container_extra_arguments`.
  160. matrix_dendrite_container_arguments: "{{ matrix_dendrite_container_extra_arguments + matrix_dendrite_container_extra_arguments_auto }}"
  161. # A list of extra arguments to pass to the container process (`dendrite-monolith` command)
  162. # Example:
  163. # matrix_dendrite_process_extra_arguments:
  164. # - "-tls-cert /some/path.crt"
  165. # - "-tls-key /some/path.pem"
  166. matrix_dendrite_process_extra_arguments: []
  167. # List of systemd services that matrix-dendrite.service depends on
  168. matrix_dendrite_systemd_required_services_list: "{{ matrix_dendrite_systemd_required_services_list_default + matrix_dendrite_systemd_required_services_list_auto + matrix_dendrite_systemd_required_services_list_custom }}"
  169. matrix_dendrite_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  170. matrix_dendrite_systemd_required_services_list_auto: []
  171. matrix_dendrite_systemd_required_services_list_custom: []
  172. # List of systemd services that matrix-dendrite.service wants
  173. matrix_dendrite_systemd_wanted_services_list: "{{ matrix_dendrite_systemd_wanted_services_list_default + matrix_dendrite_systemd_wanted_services_list_auto + matrix_dendrite_systemd_wanted_services_list_custom }}"
  174. matrix_dendrite_systemd_wanted_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  175. matrix_dendrite_systemd_wanted_services_list_auto: []
  176. matrix_dendrite_systemd_wanted_services_list_custom: []
  177. # Controls how long to sleep for after starting the matrix-dendrite container.
  178. #
  179. # Delaying, so that the homeserver can manage to fully start and various services
  180. # that depend on it (`matrix_dendrite_systemd_required_services_list` and `matrix_dendrite_systemd_wanted_services_list`)
  181. # may only start after the homeserver is up and running.
  182. #
  183. # This can be set to 0 to remove the delay.
  184. matrix_dendrite_systemd_service_post_start_delay_seconds: 3
  185. # Specifies which template files to use when configuring Dendrite.
  186. # If you'd like to have your own different configuration, feel free to copy and paste
  187. # the original files into your inventory (e.g. in `inventory/host_vars/matrix.example.com/`)
  188. # and then change the specific host's `vars.yml` file like this:
  189. # matrix_dendrite_template_dendrite_config: "{{ playbook_dir }}/inventory/host_vars/matrix.example.com/dendrite.yaml.j2"
  190. matrix_dendrite_template_dendrite_config: "{{ role_path }}/templates/dendrite.yaml.j2"
  191. matrix_dendrite_client_api_registration_shared_secret: ""
  192. matrix_dendrite_allow_guest_access: false
  193. matrix_dendrite_max_file_size_bytes: 10485760
  194. # Controls which HTTP header (e.g. 'X-Forwarded-For', 'X-Real-IP') to inspect to find the real remote IP address of the client.
  195. # This is likely required if Dendrite is running behind a reverse proxy server.
  196. matrix_dendrite_sync_api_real_ip_header: "X-Forwarded-For"
  197. # The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads.
  198. matrix_dendrite_tmp_directory_size_mb: 500
  199. # Rate limits
  200. matrix_dendrite_client_api_rate_limiting_enabled: true
  201. matrix_dendrite_client_api_rate_limiting_threshold: 20
  202. matrix_dendrite_client_api_rate_limiting_cooloff_ms: 500
  203. # Controls whether people with access to the homeserver can register by themselves.
  204. matrix_dendrite_client_api_registration_disabled: true
  205. # Controls whether guest accounts are disabled
  206. matrix_dendrite_guests_disabled: true
  207. # reCAPTCHA API for validating registration attempts
  208. matrix_dendrite_client_api_enable_registration_captcha: false
  209. matrix_dendrite_client_api_recaptcha_public_key: ""
  210. matrix_dendrite_client_api_recaptcha_private_key: ""
  211. matrix_dendrite_client_api_recaptcha_siteverify_api: ""
  212. matrix_dendrite_client_api_recaptcha_api_js_url: ""
  213. matrix_dendrite_client_api_recaptcha_form_field: ""
  214. matrix_dendrite_client_api_recaptcha_sitekey_class: ""
  215. # A list of additional "volumes" to mount in the container.
  216. # This list gets populated dynamically based on Dendrite extensions that have been enabled.
  217. # Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "ro"}
  218. # Note: internally, this uses the `--mount` flag for mounting the specified volumes.
  219. matrix_dendrite_container_additional_volumes: []
  220. # A list of appservice config files (in-container filesystem paths).
  221. # This list gets populated dynamically based on Dendrite extensions that have been enabled.
  222. # You may wish to use this together with `matrix_dendrite_container_additional_volumes` or `matrix_dendrite_container_extra_arguments`.
  223. # Also see `matrix_dendrite_app_service_config_files_final`
  224. matrix_dendrite_app_service_config_files: []
  225. # matrix_dendrite_app_service_config_files_auto is a list of appservice config files.
  226. # This list is managed by the playbook. You're not meant to override this variable.
  227. # If you'd like to inject your own arguments, see `matrix_dendrite_app_service_config_files`.
  228. matrix_dendrite_app_service_config_files_auto: []
  229. # matrix_dendrite_app_service_config_files_final holds the final list of config files to pass to the container.
  230. # You're not meant to override this variable.
  231. # If you'd like to inject your own arguments, see `matrix_dendrite_app_service_config_files`.
  232. matrix_dendrite_app_service_config_files_final: "{{ matrix_dendrite_app_service_config_files + matrix_dendrite_app_service_config_files_auto }}"
  233. # Enable exposure of metrics
  234. matrix_dendrite_metrics_enabled: false
  235. matrix_dendrite_metrics_username: ""
  236. matrix_dendrite_metrics_password: ""
  237. # Controls whether metrics should be exposed on a public URL.
  238. matrix_dendrite_metrics_proxying_enabled: false
  239. matrix_dendrite_metrics_proxying_hostname: "{{ matrix_dendrite_hostname }}"
  240. matrix_dendrite_metrics_proxying_path_prefix: /metrics/dendrite
  241. # Postgres database information
  242. matrix_dendrite_database_str: "postgresql://{{ matrix_dendrite_database_user }}:{{ matrix_dendrite_database_password }}@{{ matrix_dendrite_database_hostname }}"
  243. matrix_dendrite_database_hostname: ""
  244. matrix_dendrite_database_user: "dendrite"
  245. matrix_dendrite_database_password: "itsasecret"
  246. matrix_dendrite_database_sslmode: disable
  247. matrix_dendrite_federation_api_database: "dendrite_federationapi"
  248. matrix_dendrite_key_server_database: "dendrite_keyserver"
  249. matrix_dendrite_media_api_database: "dendrite_mediaapi"
  250. matrix_dendrite_room_database: "dendrite_room"
  251. matrix_dendrite_sync_api_database: "dendrite_syncapi"
  252. matrix_dendrite_user_api_database: "dendrite_userapi"
  253. matrix_dendrite_push_server_database: "dendrite_pushserver"
  254. matrix_dendrite_relay_api_database: "dendrite_relayapi"
  255. matrix_dendrite_mscs_database: "dendrite_mscs"
  256. matrix_dendrite_client_api_turn_uris: []
  257. matrix_dendrite_client_api_turn_shared_secret: ""
  258. matrix_dendrite_client_api_turn_username: ""
  259. matrix_dendrite_client_api_turn_password: ""
  260. matrix_dendrite_client_api_turn_allow_guests: false
  261. matrix_dendrite_disable_tls_validation: false
  262. matrix_dendrite_trusted_id_servers:
  263. - "matrix.org"
  264. - "vector.im"
  265. # Controls whether Dendrite will federate at all.
  266. # Disable this to completely isolate your server from the rest of the Matrix network.
  267. matrix_dendrite_federation_enabled: true
  268. # Controls whether the self-check feature should validate SSL certificates.
  269. matrix_dendrite_self_check_validate_certificates: true
  270. # Default Dendrite configuration template which covers the generic use case.
  271. # You can customize it by controlling the various variables inside it.
  272. #
  273. # For a more advanced customization, you can extend the default (see `matrix_dendrite_configuration_extension_yaml`)
  274. # or completely replace this variable with your own template.
  275. matrix_dendrite_configuration_yaml: "{{ lookup('template', matrix_dendrite_template_dendrite_config) }}"
  276. matrix_dendrite_configuration_extension_yaml: |
  277. # Your custom YAML configuration for Dendrite goes here.
  278. # This configuration extends the default starting configuration (`matrix_dendrite_configuration_yaml`).
  279. #
  280. # You can override individual variables from the default configuration, or introduce new ones.
  281. #
  282. # If you need something more special, you can take full control by
  283. # completely redefining `matrix_dendrite_configuration_yaml`.
  284. #
  285. # Example configuration extension follows:
  286. #
  287. # server_notices:
  288. # system_mxid_localpart: notices
  289. # system_mxid_display_name: "Server Notices"
  290. # system_mxid_avatar_url: "mxc://example.com/oumMVlgDnLYFaPVkExemNVVZ"
  291. # room_name: "Server Notices"
  292. matrix_dendrite_configuration_extension: "{{ matrix_dendrite_configuration_extension_yaml | from_yaml if matrix_dendrite_configuration_extension_yaml | from_yaml is mapping else {} }}"
  293. # Holds the final Dendrite configuration (a combination of the default and its extension).
  294. # You most likely don't need to touch this variable. Instead, see `matrix_dendrite_configuration_yaml`.
  295. matrix_dendrite_configuration: "{{ matrix_dendrite_configuration_yaml | from_yaml | combine(matrix_dendrite_configuration_extension, recursive=True) }}"
  296. matrix_dendrite_user_api_auto_join_rooms: []
  297. # statistics reporting configuration. These statistics contain the server
  298. # name, number of active users and some information on your deployment config.
  299. matrix_dendrite_report_stats: false
  300. # Controls whether thumbnails for media content are generated dynamically
  301. matrix_dendrite_media_api_dynamic_thumbnails: false
  302. matrix_dendrite_media_api_max_thumbnail_generators: 10
  303. # Controls whether the full-text search engine is enabled
  304. matrix_dendrite_sync_api_search_enabled: false