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

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