Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

438 wiersze
16 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: bg\n"
  17. "Language-Team: bg <LL@li.org>\n"
  18. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  19. "MIME-Version: 1.0\n"
  20. "Content-Type: text/plain; charset=utf-8\n"
  21. "Content-Transfer-Encoding: 8bit\n"
  22. "Generated-By: Babel 2.16.0\n"
  23. #: ../../../docs/configuring-playbook-synapse.md:1
  24. msgid "Configuring Synapse (optional)"
  25. msgstr ""
  26. #: ../../../docs/configuring-playbook-synapse.md:3
  27. msgid ""
  28. "By default, this playbook configures the [Synapse](https://github.com"
  29. "/element-hq/synapse) Matrix server, so that it works for the general "
  30. "case. If that's okay, you can skip this document."
  31. msgstr ""
  32. #: ../../../docs/configuring-playbook-synapse.md:5
  33. msgid ""
  34. "The playbook provides lots of customization variables you could use to "
  35. "change Synapse's settings."
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-synapse.md:7
  38. msgid ""
  39. "Their defaults are defined in [`roles/custom/matrix-"
  40. "synapse/defaults/main.yml`](../roles/custom/matrix-"
  41. "synapse/defaults/main.yml) and they ultimately end up in the generated "
  42. "`/matrix/synapse/config/homeserver.yaml` file (on the server). This file "
  43. "is generated from the [`roles/custom/matrix-"
  44. "synapse/templates/synapse/homeserver.yaml.j2`](../roles/custom/matrix-"
  45. "synapse/templates/synapse/homeserver.yaml.j2) template."
  46. msgstr ""
  47. #: ../../../docs/configuring-playbook-synapse.md:9
  48. msgid ""
  49. "**If there's an existing variable** which controls a setting you wish to "
  50. "change, you can simply define that variable in your configuration file "
  51. "(`inventory/host_vars/matrix.example.com/vars.yml`) and [re-run the "
  52. "playbook](installing.md) to apply the changes."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-synapse.md:11
  55. msgid ""
  56. "Alternatively, **if there is no pre-defined variable** for a Synapse "
  57. "setting you wish to change:"
  58. msgstr ""
  59. #: ../../../docs/configuring-playbook-synapse.md:13
  60. msgid ""
  61. "you can either **request a variable to be created** (or you can submit "
  62. "such a contribution yourself). Keep in mind that it's **probably not a "
  63. "good idea** to create variables for each one of Synapse's various "
  64. "settings that rarely get used."
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-synapse.md:15
  67. msgid ""
  68. "or, you can **extend and override the default configuration** "
  69. "([`homeserver.yaml.j2`](../roles/custom/matrix-"
  70. "synapse/templates/synapse/homeserver.yaml.j2)) by making use of the "
  71. "`matrix_synapse_configuration_extension_yaml` variable. You can find "
  72. "information about this in [`roles/custom/matrix-"
  73. "synapse/defaults/main.yml`](../roles/custom/matrix-"
  74. "synapse/defaults/main.yml)."
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-synapse.md:17
  77. msgid ""
  78. "or, if extending the configuration is still not powerful enough for your "
  79. "needs, you can **override the configuration completely** using "
  80. "`matrix_synapse_configuration` (or `matrix_synapse_configuration_yaml`). "
  81. "You can find information about this in [`roles/custom/matrix-"
  82. "synapse/defaults/main.yml`](../roles/custom/matrix-"
  83. "synapse/defaults/main.yml)."
  84. msgstr ""
  85. #: ../../../docs/configuring-playbook-synapse.md:19
  86. msgid "Load balancing with workers"
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-synapse.md:21
  89. msgid ""
  90. "To have Synapse gracefully handle thousands of users, worker support "
  91. "should be enabled. It factors out some homeserver tasks and spreads the "
  92. "load of incoming client and server-to-server traffic between multiple "
  93. "processes. More information can be found in the [official Synapse workers"
  94. " documentation](https://github.com/element-"
  95. "hq/synapse/blob/master/docs/workers.md) and [Tom "
  96. "Foster](https://github.com/tcpipuk)'s [Synapse homeserver "
  97. "guide](https://tcpipuk.github.io/synapse/index.html)."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-synapse.md:23
  100. msgid ""
  101. "To enable Synapse worker support, add the following configuration to your"
  102. " `inventory/host_vars/matrix.example.com/vars.yml` file:"
  103. msgstr ""
  104. #: ../../../docs/configuring-playbook-synapse.md:31
  105. msgid ""
  106. "By default, this enables the `one-of-each` [worker preset](#worker-"
  107. "presets), but you may wish to use another preset or [control the number "
  108. "of worker instances](#controlling-the-number-of-worker-instances)."
  109. msgstr ""
  110. #: ../../../docs/configuring-playbook-synapse.md:33
  111. msgid "Worker presets"
  112. msgstr ""
  113. #: ../../../docs/configuring-playbook-synapse.md:35
  114. msgid ""
  115. "We support a few configuration presets (`matrix_synapse_workers_preset: "
  116. "one-of-each` being the default configuration right now):"
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-synapse.md:37
  119. msgid ""
  120. "(federation-only) `little-federation-helper` - a very minimal worker "
  121. "configuration to improve federation performance"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-synapse.md:38
  124. msgid ""
  125. "(generic) `one-of-each` - defaults to one worker of each supported type -"
  126. " no smart routing, just generic workers"
  127. msgstr ""
  128. #: ../../../docs/configuring-playbook-synapse.md:39
  129. msgid ""
  130. "(specialized) `specialized-workers` - defaults to one worker of each "
  131. "supported type, but disables generic workers and uses [specialized "
  132. "workers](#specialized-workers) instead"
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-synapse.md:41
  135. msgid ""
  136. "These presets represent a few common configurations. There are many "
  137. "worker types which can be mixed and matched based on your needs."
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-synapse.md:43
  140. msgid "Generic workers"
  141. msgstr ""
  142. #: ../../../docs/configuring-playbook-synapse.md:45
  143. msgid ""
  144. "Previously, the playbook only supported the most basic type of load-"
  145. "balancing. We call it **generic load-balancing** below, because incoming "
  146. "HTTP requests are sent to a generic worker. Load-balancing was done based"
  147. " on the requestor's IP address. This is simple, but not necessarily "
  148. "optimal. If you're accessing your account from multiple IP addresses "
  149. "(e.g. your mobile phone being on a different network than your PC), these"
  150. " separate requests may potentially be routed to different workers, each "
  151. "of which would need to cache roughly the same data."
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-synapse.md:47
  154. msgid ""
  155. "This is **still the default load-balancing method (preset) used by the "
  156. "playbook**."
  157. msgstr ""
  158. #: ../../../docs/configuring-playbook-synapse.md:49
  159. msgid ""
  160. "To use generic load-balancing, do not specify "
  161. "`matrix_synapse_workers_preset` to make it use the default value (`one-"
  162. "of-each`), or better yet - explicitly set it as `one-of-each`."
  163. msgstr ""
  164. #: ../../../docs/configuring-playbook-synapse.md:51
  165. msgid ""
  166. "You may also consider [tweaking the number of workers of each type"
  167. "](#controlling-the-number-of-worker-instances) from the default (one of "
  168. "each)."
  169. msgstr ""
  170. #: ../../../docs/configuring-playbook-synapse.md:53
  171. msgid "Specialized workers"
  172. msgstr ""
  173. #: ../../../docs/configuring-playbook-synapse.md:55
  174. msgid ""
  175. "The playbook now supports a smarter **specialized load-balancing** "
  176. "inspired by [Tom Foster](https://github.com/tcpipuk)'s [Synapse "
  177. "homeserver guide](https://tcpipuk.github.io/synapse/index.html). Instead "
  178. "of routing requests to one or more [generic workers](#generic-workers) "
  179. "based only on the requestor's IP adddress, specialized load-balancing "
  180. "routes to **4 different types of specialized workers** based on **smarter"
  181. " criteria** - the access token (username) of the requestor and/or on the "
  182. "resource (room, etc.) being requested."
  183. msgstr ""
  184. #: ../../../docs/configuring-playbook-synapse.md:57
  185. msgid "The playbook supports these **4 types** of specialized workers:"
  186. msgstr ""
  187. #: ../../../docs/configuring-playbook-synapse.md:59
  188. msgid ""
  189. "Room workers - handles various [Client-"
  190. "Server](https://spec.matrix.org/v1.9/client-server-api/) & "
  191. "[Federation](https://spec.matrix.org/v1.9/server-server-api) APIs "
  192. "dedicated to handling specific rooms"
  193. msgstr ""
  194. #: ../../../docs/configuring-playbook-synapse.md:60
  195. msgid ""
  196. "Sync workers - handles various [Client-"
  197. "Server](https://spec.matrix.org/v1.9/client-server-api/) APIs related to "
  198. "synchronization (most notably [the `/sync` "
  199. "endpoint](https://spec.matrix.org/v1.9/client-server-"
  200. "api/#get_matrixclientv3sync))"
  201. msgstr ""
  202. #: ../../../docs/configuring-playbook-synapse.md:61
  203. msgid ""
  204. "Client readers - handles various [Client-"
  205. "Server](https://spec.matrix.org/v1.9/client-server-api/) APIs which are "
  206. "not for specific rooms (handled by **room workers**) or for "
  207. "synchronization (handled by **sync workers**)"
  208. msgstr ""
  209. #: ../../../docs/configuring-playbook-synapse.md:62
  210. msgid ""
  211. "Federation readers - handles various "
  212. "[Federation](https://spec.matrix.org/v1.9/server-server-api) APIs which "
  213. "are not for specific rooms (handled by **room workers**)"
  214. msgstr ""
  215. #: ../../../docs/configuring-playbook-synapse.md:64
  216. msgid ""
  217. "To use specialized load-balancing, consider enabling the `specialized-"
  218. "workers` [worker preset](#worker-presets) and potentially [tweaking the "
  219. "number of workers of each type](#controlling-the-number-of-worker-"
  220. "instances) from the default (one of each)."
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-synapse.md:66
  223. msgid "Controlling the number of worker instances"
  224. msgstr ""
  225. #: ../../../docs/configuring-playbook-synapse.md:68
  226. msgid ""
  227. "If you'd like more customization power, you can start with one of the "
  228. "[worker presets](#worker-presets) and then tweak various "
  229. "`matrix_synapse_workers_*_count` variables manually."
  230. msgstr ""
  231. #: ../../../docs/configuring-playbook-synapse.md:70
  232. msgid ""
  233. "To find what variables are available for you to override in your own "
  234. "`vars.yml` configuration file, see the [`defaults/main.yml` file for the "
  235. "`matrix-synapse` Ansible role](../roles/custom/matrix-"
  236. "synapse/defaults/main.yml)."
  237. msgstr ""
  238. #: ../../../docs/configuring-playbook-synapse.md:72
  239. msgid ""
  240. "The only thing you **cannot** do is mix [generic workers](#generic-"
  241. "workers) and [specialized workers](#specialized-workers)."
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-synapse.md:74
  244. msgid "Effect of enabling workers on the rest of your server"
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-synapse.md:76
  247. msgid ""
  248. "When Synapse workers are enabled, the integrated [Postgres database is "
  249. "tuned](maintenance-postgres.md#tuning-postgresql), so that the maximum "
  250. "number of Postgres connections are increased from `200` to `500`. If you "
  251. "need to decrease or increase the number of maximum Postgres connections "
  252. "further, use the `postgres_max_connections` variable."
  253. msgstr ""
  254. #: ../../../docs/configuring-playbook-synapse.md:78
  255. msgid ""
  256. "A separate Ansible role (`matrix-synapse-reverse-proxy-companion`) and "
  257. "component handles load-balancing for workers. This role/component is "
  258. "automatically enabled when you enable workers. Make sure to use the "
  259. "`setup-all` tag (not `install-all`!) during the playbook's "
  260. "[installation](./installing.md) process, especially if you're disabling "
  261. "workers, so that components may be installed/uninstalled correctly."
  262. msgstr ""
  263. #: ../../../docs/configuring-playbook-synapse.md:80
  264. msgid ""
  265. "In case any problems occur, make sure to have a look at the [list of "
  266. "synapse issues about workers](https://github.com/element-"
  267. "hq/synapse/issues?q=workers+in%3Atitle) and your `journalctl --unit "
  268. "'matrix-*'`."
  269. msgstr ""
  270. #: ../../../docs/configuring-playbook-synapse.md:82
  271. msgid "Synapse Admin"
  272. msgstr ""
  273. #: ../../../docs/configuring-playbook-synapse.md:84
  274. msgid ""
  275. "Certain Synapse administration tasks (managing users and rooms, etc.) can"
  276. " be performed via a web user-interace, if you install [Synapse Admin"
  277. "](configuring-playbook-synapse-admin.md)."
  278. msgstr ""
  279. #: ../../../docs/configuring-playbook-synapse.md:86
  280. msgid "Synapse + OpenID Connect for Single-Sign-On"
  281. msgstr ""
  282. #: ../../../docs/configuring-playbook-synapse.md:88
  283. msgid ""
  284. "💡 An alternative to setting up OIDC in Synapse is to use [Matrix "
  285. "Authentication Service](./configuring-playbook-matrix-authentication-"
  286. "service.md) (MAS). Newer clients (like Element X) only support SSO-based "
  287. "authentication via MAS and not via the legacy Synapse OIDC setup "
  288. "described below. That said, MAS is still a new experimental service which"
  289. " comes with its own downsides. Consult its documentation to learn if it "
  290. "will be a good fit for your deployment."
  291. msgstr ""
  292. #: ../../../docs/configuring-playbook-synapse.md:90
  293. msgid ""
  294. "If you'd like to use OpenID Connect authentication with Synapse, you'll "
  295. "need some additional configuration."
  296. msgstr ""
  297. #: ../../../docs/configuring-playbook-synapse.md:92
  298. msgid ""
  299. "This example configuration is for [keycloak](https://www.keycloak.org/), "
  300. "an opensource Identity Provider maintained by Red Hat."
  301. msgstr ""
  302. #: ../../../docs/configuring-playbook-synapse.md:94
  303. msgid ""
  304. "For more detailed documentation on available options and how to setup "
  305. "keycloak, see the [Synapse documentation on OpenID Connect with "
  306. "keycloak](https://github.com/element-"
  307. "hq/synapse/blob/develop/docs/openid.md#keycloak)."
  308. msgstr ""
  309. #: ../../../docs/configuring-playbook-synapse.md:96
  310. #, python-format
  311. msgid ""
  312. "In case you encounter errors regarding the parsing of the variables, you "
  313. "can try to add `{% raw %}` and `{% endraw %}` blocks around them. For "
  314. "example ;"
  315. msgstr ""
  316. #: ../../../docs/configuring-playbook-synapse.md:117
  317. msgid "Customizing templates"
  318. msgstr ""
  319. #: ../../../docs/configuring-playbook-synapse.md:119
  320. msgid ""
  321. "[Templates](https://github.com/element-"
  322. "hq/synapse/blob/develop/docs/templates.md) are used by Synapse for "
  323. "showing **certain web pages** handled by the server, as well as for "
  324. "**email notifications**."
  325. msgstr ""
  326. #: ../../../docs/configuring-playbook-synapse.md:121
  327. msgid ""
  328. "This playbook allows you to customize the default templates (see the "
  329. "[`synapse/res/templates` directory](https://github.com/element-"
  330. "hq/synapse/tree/develop/synapse/res/templates))."
  331. msgstr ""
  332. #: ../../../docs/configuring-playbook-synapse.md:123
  333. msgid ""
  334. "If template customization is enabled, the playbook will build a custom "
  335. "container image based on the official one."
  336. msgstr ""
  337. #: ../../../docs/configuring-playbook-synapse.md:125
  338. msgid ""
  339. "Your custom templates need to live in a public or private git repository."
  340. " This repository will be cloned during Synapse image customization "
  341. "(during the playbook run)."
  342. msgstr ""
  343. #: ../../../docs/configuring-playbook-synapse.md:127
  344. msgid ""
  345. "To enable template customizations, use a configuration "
  346. "(`inventory/host_vars/matrix.example.com/vars.yml`) like this:"
  347. msgstr ""
  348. #: ../../../docs/configuring-playbook-synapse.md:153
  349. msgid ""
  350. "As mentioned in Synapse's Templates documentation, Synapse will fall back"
  351. " to its own templates if a template is not found in that directory. Due "
  352. "to this, it's recommended to only store and maintain template files in "
  353. "your repository if you need to make custom changes. Other files (which "
  354. "you don't need to change), should not be duplicated, so that you don't "
  355. "need to worry about getting out-of-sync with the original Synapse "
  356. "templates."
  357. msgstr ""
  358. #: ../../../docs/configuring-playbook-synapse.md:155
  359. msgid "Monitoring Synapse Metrics with Prometheus and Grafana"
  360. msgstr ""
  361. #: ../../../docs/configuring-playbook-synapse.md:157
  362. msgid ""
  363. "This playbook allows you to enable Synapse metrics, which can provide "
  364. "insight into the performance and activity of Synapse."
  365. msgstr ""
  366. #: ../../../docs/configuring-playbook-synapse.md:159
  367. msgid ""
  368. "To enable Synapse runtime metrics see: [Enabling metrics and graphs "
  369. "(Prometheus, Grafana) for your Matrix server](configuring-playbook-"
  370. "prometheus-grafana.md)"
  371. msgstr ""
  372. #: ../../../docs/configuring-playbook-synapse.md:161
  373. msgid ""
  374. "To enable Synapse usage metrics, see: [Enabling synapse-usage-exporter "
  375. "for Synapse usage statistics](configuring-playbook-synapse-usage-"
  376. "exporter.md)"
  377. msgstr ""