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

234 строки
11 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2026, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2026-03-03 10:49+0000\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-turn.md:14
  19. msgid "Configuring a TURN server (optional, advanced)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-turn.md:16
  22. msgid "By default, the [coturn](https://github.com/coturn/coturn) TURN server component is enabled automatically only when [Jitsi](configuring-playbook-jitsi.md) is enabled. If you're not using Jitsi, coturn is not enabled by default."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-turn.md:18
  25. msgid "If you explicitly need coturn while not using Jitsi, enable it with:"
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-turn.md:24
  28. msgid "and configure its IP-related settings in the section below."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-turn.md:26
  31. msgid "If you'd like coturn to stay disabled even when Jitsi is enabled, or if you prefer to use an external TURN provider, see [disabling coturn](#disabling-coturn) section below."
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-turn.md:28
  34. msgid "When Coturn is not enabled, homeservers (like Synapse) would not point to TURN servers and *legacy* audio/video call functionality may fail. If you're using [Matrix RTC](configuring-playbook-matrix-rtc.md) (for [Element Call](configuring-playbook-element-call.md)), you likely don't have a need to enable coturn."
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-turn.md:30
  37. msgid "Adjusting firewall rules"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-turn.md:32
  40. msgid "To ensure Coturn functions correctly, the following firewall rules and port forwarding settings are required when coturn is enabled:"
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-turn.md:34
  43. msgid "`3478/tcp`: STUN/TURN over TCP"
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-turn.md:35
  46. msgid "`3478/udp`: STUN/TURN over UDP"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-turn.md:36
  49. msgid "`5349/tcp`: TURN over TCP"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-turn.md:37
  52. msgid "`5349/udp`: TURN over UDP"
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-turn.md:38
  55. msgid "`49152-49172/udp`: TURN/UDP relay range"
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-turn.md:40
  58. msgid "If LiveKit's embedded TURN is enabled at the same time (for MatrixRTC/Element Call), keep the Coturn relay range distinct from LiveKit's relay range (`livekit_server_config_turn_relay_range_start`/`livekit_server_config_turn_relay_range_end`)."
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-turn.md:42
  61. msgid "💡 Docker configures the server's internal firewall for you. In most cases, you don't need to do anything special on the host itself."
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-turn.md:44
  64. msgid "Adjusting the playbook configuration"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-turn.md:46
  67. msgid "Define public IP manually (optional)"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-turn.md:48
  70. msgid "If you enable coturn (either via Jitsi or manually), we recommend that you configure the public IP addresses of your server in the `vars.yml` file:"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-turn.md:55
  73. msgid "If you'd like to rely on external IP address auto-detection (not recommended unless you need it), avoid configuring this variable. The playbook will automatically contact an [echoip](https://github.com/mpolden/echoip)-compatible service (`https://ifconfig.co/json` by default) to determine your server's IP address. This API endpoint is configurable via the `coturn_turn_external_ip_address_auto_detection_echoip_service_url` variable."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-turn.md:57
  76. msgid "[!NOTE] You can self-host the echoip service by using the [Mother-of-All-Self-Hosting (MASH)](https://github.com/mother-of-all-self-hosting/mash-playbook) Ansible playbook. See [this page](https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/services/echoip.md) for the instruction to install it with the playbook. If you are wondering how to use it for your Matrix server, refer to [this page](https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/setting-up-services-on-mdad-server.md) for the overview."
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-turn.md:60
  79. msgid "Change the authentication mechanism (optional)"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-turn.md:62
  82. msgid "The playbook uses the [`auth-secret` authentication method](https://github.com/coturn/coturn/blob/873cabd6a2e5edd7e9cc5662cac3ffe47fe87a8e/README.turnserver#L186-L199) by default, but you may switch to the [`lt-cred-mech` method](https://github.com/coturn/coturn/blob/873cabd6a2e5edd7e9cc5662cac3ffe47fe87a8e/README.turnserver#L178) which [some report](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3191) to be working better."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-turn.md:64
  85. msgid "To do so, add the following configuration to your `vars.yml` file:"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-turn.md:70
  88. msgid "Regardless of the selected authentication method, the playbook generates secrets automatically and passes them to the homeserver and coturn."
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-turn.md:72
  91. msgid "If [Jitsi](configuring-playbook-jitsi.md) is installed, note that switching to `lt-cred-mech` will disable the integration between Jitsi and your coturn server, as Jitsi seems to support the `auth-secret` authentication method only."
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-turn.md:74
  94. msgid "Customize the Coturn hostname (optional)"
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-turn.md:76
  97. msgid "By default, Coturn uses the same hostname as your Matrix homeserver (the value of `matrix_server_fqn_matrix`, which is typically `matrix.example.com`)."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-turn.md:78
  100. msgid "If you'd like to use a custom subdomain for Coturn (e.g., `turn.example.com` or `t.matrix.example.com`), add the following configuration to your `vars.yml` file:"
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-turn.md:84
  103. msgid "The playbook will automatically:"
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-turn.md:85
  106. msgid "Configure Coturn to use this hostname"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-turn.md:86
  109. msgid "Obtain an SSL certificate for the custom domain via Traefik"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-turn.md:87
  112. msgid "Update all TURN URIs to point to the custom domain"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-turn.md:89
  115. msgid "**Note**: Make sure the custom hostname resolves to your server's IP address via DNS before running the playbook."
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-turn.md:91
  118. msgid "Use your own external coturn server (optional)"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-turn.md:93
  121. msgid "If you'd like to use another TURN server (be it coturn or some other one), add the following configuration to your `vars.yml` file. Make sure to replace `HOSTNAME_OR_IP` with your own."
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-turn.md:107
  124. msgid "If you have or want to enable Jitsi, you might want to enable the TURN server there too. If you do not do it, Jitsi will fall back to an upstream service."
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-turn.md:114
  127. msgid "You can put multiple host/port combinations if you'd like to."
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-turn.md:116
  130. msgid "Edit the reloading schedule (optional)"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-turn.md:118
  133. msgid "By default the service is reloaded on 6:30 a.m. every day based on the `coturn_reload_schedule` variable so that new SSL certificates can kick in. It is defined in the format of systemd timer calendar."
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-turn.md:120
  136. msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-turn.md:126
  139. msgid "**Note**: the actual job may run with a delay. See `coturn_reload_schedule_randomized_delay_sec` for its default value."
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-turn.md:128
  142. msgid "Extending the configuration"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-turn.md:130
  145. msgid "There are some additional things you may wish to configure about the TURN server."
  146. msgstr ""
  147. #: ../../../docs/configuring-playbook-turn.md:132
  148. msgid "Take a look at:"
  149. msgstr ""
  150. #: ../../../docs/configuring-playbook-turn.md:134
  151. msgid "`roles/galaxy/coturn/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-turn.md:136
  154. msgid "Disabling coturn"
  155. msgstr ""
  156. #: ../../../docs/configuring-playbook-turn.md:138
  157. msgid "Coturn is only enabled by default when [Jitsi](configuring-playbook-jitsi.md) is enabled. In most instances, you don't need to explicitly disable it."
  158. msgstr ""
  159. #: ../../../docs/configuring-playbook-turn.md:140
  160. msgid "To force the playbook to not install Coturn (even when Jitsi is enabled), add the following configuration to your `vars.yml` file:"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-turn.md:146
  163. msgid "Installing"
  164. msgstr ""
  165. #: ../../../docs/configuring-playbook-turn.md:148
  166. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  167. msgstr ""
  168. #: ../../../docs/configuring-playbook-turn.md:155
  169. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  170. msgstr ""
  171. #: ../../../docs/configuring-playbook-turn.md:157
  172. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-turn.md:159
  175. msgid "Troubleshooting"
  176. msgstr ""
  177. #: ../../../docs/configuring-playbook-turn.md:161
  178. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-coturn`."
  179. msgstr ""