Matrix Docker Ansible eploy
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

382 linhas
16 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-07-16 13:47+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-bridge-hookshot.md:11
  19. msgid "Setting up matrix-hookshot (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-bridge-hookshot.md:13
  22. msgid "The playbook can install and configure [matrix-hookshot](https://github.com/matrix-org/matrix-hookshot) for you."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-bridge-hookshot.md:15
  25. msgid "Hookshot can bridge [Webhooks](https://en.wikipedia.org/wiki/Webhook) from software project management services such as GitHub, GitLab, Jira, and Figma, as well as generic webhooks."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-bridge-hookshot.md:17
  28. msgid "See the project's [documentation](https://matrix-org.github.io/matrix-hookshot/latest/hookshot.html) to learn what it does and why it might be useful to you."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-bridge-hookshot.md:19
  31. msgid "Prerequisites"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-bridge-hookshot.md:21
  34. msgid "Download GitHub app private key (optional)"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-bridge-hookshot.md:23
  37. msgid "If you're setting up the GitHub bridge, you need to create your GitHub app, and generate a private key file of it."
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-bridge-hookshot.md:25
  40. msgid "You need to download the private key file, if you will install the file manually or with the `aux` role. For details, see [the section below](#manage-github-private-key-with-aux-role)."
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-bridge-hookshot.md:27
  43. msgid "Adjusting the playbook configuration"
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-bridge-hookshot.md:29
  46. msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to replace `GITHUB_PRIVATE_KEY_HERE` with the one created [above](#download-github-app-private-key)."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bridge-hookshot.md:44
  49. msgid "End-to-bridge encryption also requires the homeserver to support (and have enabled) [MSC2409](https://github.com/matrix-org/matrix-spec-proposals/pull/2409) and [MSC3202](https://github.com/matrix-org/matrix-spec-proposals/pull/3202). If you are using Synapse, enable them by also adding this to your `vars.yml` file:"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-bridge-hookshot.md:51
  52. msgid "These are experimental homeserver-wide features (as is Hookshot's encryption support itself), so enable them deliberately."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-bridge-hookshot.md:53
  55. msgid "For each of the services (GitHub, GitLab, Jira, Figma, and generic webhooks) fill in the respective variables `matrix_bridge_hookshot_service_*` listed in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) as required."
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-bridge-hookshot.md:55
  58. msgid "Take special note of the `matrix_bridge_hookshot_*_enabled` variables. Services that need no further configuration are enabled by default (GitLab and generic webhooks), while you must first add the required configuration and enable the others (GitHub, Jira, and Figma)."
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-bridge-hookshot.md:57
  61. msgid "Extending the configuration"
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-bridge-hookshot.md:59
  64. msgid "There are some additional things you may wish to configure about the bridge."
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-bridge-hookshot.md:61
  67. msgid "Take a look at:"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-bridge-hookshot.md:63
  70. msgid "`roles/custom/matrix-bridge-hookshot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-bridge-hookshot.md:64
  73. msgid "`roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2` for the bridge's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_bridge_hookshot_configuration_extension_yaml` and `matrix_bridge_hookshot_registration_extension_yaml` variables"
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-bridge-hookshot.md:66
  76. msgid "Refer the [official instructions](https://matrix-org.github.io/matrix-hookshot/latest/setup.html) and the comments in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) to learn what the individual options do."
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-bridge-hookshot.md:68
  79. msgid "Installing"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-bridge-hookshot.md:70
  82. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-bridge-hookshot.md:77
  85. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-service hookshot` or `just setup-all`"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-bridge-hookshot.md:79
  88. msgid "`just install-service hookshot` is useful for maintaining your setup quickly 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 `just setup-all` runs the `ensure-matrix-users-created` tag too."
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-bridge-hookshot.md:81
  91. msgid "Usage"
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-bridge-hookshot.md:83
  94. msgid "To use the bridge, you need to create a room and invite the Hookshot bot (`@hookshot:example.com`) to it."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-bridge-hookshot.md:85
  97. msgid "Make sure the bot is able to send state events (usually the Moderator power level in clients)."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-bridge-hookshot.md:87
  100. msgid "Send `!hookshot help` to the bot to see the available commands."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-bridge-hookshot.md:89
  103. msgid "Refer to [Hookshot's documentation](https://matrix-org.github.io/matrix-hookshot/latest/usage.html) for more details about using the bridge's various features."
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-bridge-hookshot.md:91
  106. msgid "💡 **Note**: the different listeners are bound to certain paths which might differ from those assumed by the hookshot documentation. See [URLs for bridges setup](#urls-for-bridges-setup) below."
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-bridge-hookshot.md:93
  109. msgid "Reset crypto store"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-bridge-hookshot.md:95
  112. msgid "Should the crypto store be corrupted, you can reset it by executing this Ansible playbook with the tag `reset-hookshot-encryption` added:"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-bridge-hookshot.md:101
  115. msgid "More setup documentation"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-bridge-hookshot.md:103
  118. msgid "URLs for bridges setup"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-bridge-hookshot.md:105
  121. msgid "Unless indicated otherwise, the following endpoints are reachable on your `matrix.` subdomain (if the feature is enabled)."
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  124. msgid "Listener"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  127. msgid "Default path"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  130. msgid "Variable"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  133. msgid "Used as"
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  136. msgid "-"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  139. msgid "`/hookshot/webhooks/`"
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  142. msgid "`matrix_bridge_hookshot_webhook_endpoint`"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  145. msgid "Webhook-prefix, which affects all webhook-related URLs below"
  146. msgstr ""
  147. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  148. msgid "generic"
  149. msgstr ""
  150. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  151. msgid "`/hookshot/webhooks/webhook`"
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  154. msgid "`matrix_bridge_hookshot_generic_endpoint`"
  155. msgstr ""
  156. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  157. msgid "Generic webhooks"
  158. msgstr ""
  159. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  160. msgid "github oauth"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  163. msgid "`/hookshot/webhooks/oauth`"
  164. msgstr ""
  165. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  166. msgid "`matrix_bridge_hookshot_github_oauth_endpoint`"
  167. msgstr ""
  168. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  169. msgid "GitHub \"Callback URL\""
  170. msgstr ""
  171. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  172. msgid "jira oauth"
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  175. msgid "`/hookshot/webhooks/jira/oauth`"
  176. msgstr ""
  177. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  178. msgid "`matrix_bridge_hookshot_jira_oauth_endpoint`"
  179. msgstr ""
  180. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  181. msgid "Jira OAuth"
  182. msgstr ""
  183. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  184. msgid "figma endpoint"
  185. msgstr ""
  186. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  187. msgid "`/hookshot/webhooks/figma/webhook`"
  188. msgstr ""
  189. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  190. msgid "`matrix_bridge_hookshot_figma_endpoint`"
  191. msgstr ""
  192. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  193. msgid "Figma"
  194. msgstr ""
  195. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  196. msgid "appservice"
  197. msgstr ""
  198. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  199. msgid "`/hookshot/_matrix/app/`"
  200. msgstr ""
  201. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  202. msgid "`matrix_bridge_hookshot_appservice_endpoint`"
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  205. msgid "Matrix server"
  206. msgstr ""
  207. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  208. msgid "widgets"
  209. msgstr ""
  210. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  211. msgid "`/hookshot/widgetapi/`"
  212. msgstr ""
  213. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  214. msgid "`matrix_bridge_hookshot_widgets_endpoint`"
  215. msgstr ""
  216. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  217. msgid "Widgets"
  218. msgstr ""
  219. #: ../../../docs/configuring-playbook-bridge-hookshot.md:117
  220. msgid "Also see the various `matrix_bridge_hookshot_container_labels_*` variables in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml), which expose URLs publicly."
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-bridge-hookshot.md:119
  223. msgid "The different listeners are also reachable *internally* in the docker-network via the container's name (configured by `matrix_bridge_hookshot_container_url`) and on different ports (e.g. `matrix_bridge_hookshot_appservice_port`). Read [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) in detail for more info."
  224. msgstr ""
  225. #: ../../../docs/configuring-playbook-bridge-hookshot.md:121
  226. msgid "Manage GitHub Private Key with aux role"
  227. msgstr ""
  228. #: ../../../docs/configuring-playbook-bridge-hookshot.md:123
  229. msgid "The GitHub bridge requires you to install a private key file. This can be done in multiple ways:"
  230. msgstr ""
  231. #: ../../../docs/configuring-playbook-bridge-hookshot.md:125
  232. msgid "copy the *contents* of the downloaded file and set the variable `matrix_bridge_hookshot_github_private_key` to the contents (see example in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml))."
  233. msgstr ""
  234. #: ../../../docs/configuring-playbook-bridge-hookshot.md:126
  235. msgid "somehow copy the file to the path `{{ matrix_bridge_hookshot_base_path }}/{{ matrix_bridge_hookshot_github_private_key_file }}` (default: `/matrix/hookshot/private-key.pem`) on the server manually."
  236. msgstr ""
  237. #: ../../../docs/configuring-playbook-bridge-hookshot.md:127
  238. msgid "use the [`aux` role](https://github.com/mother-of-all-self-hosting/ansible-role-aux) to copy the file from an arbitrary path on your ansible client to the correct path on the server."
  239. msgstr ""
  240. #: ../../../docs/configuring-playbook-bridge-hookshot.md:129
  241. msgid "To use the `aux` role, make sure the `matrix_bridge_hookshot_github_private_key` variable is empty. Then add the following configuration to your `vars.yml` file:"
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-bridge-hookshot.md:140
  244. msgid "For more information, see the documentation in the [default configuration of the aux role](https://github.com/mother-of-all-self-hosting/ansible-role-aux/blob/main/defaults/main.yml)."
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-bridge-hookshot.md:142
  247. msgid "Enable metrics"
  248. msgstr ""
  249. #: ../../../docs/configuring-playbook-bridge-hookshot.md:144
  250. msgid "The playbook can enable and configure the metrics of the service for you."
  251. msgstr ""
  252. #: ../../../docs/configuring-playbook-bridge-hookshot.md:146
  253. msgid "Metrics are **only enabled by default** if the builtin [Prometheus](configuring-playbook-prometheus-grafana.md) is enabled (by default, Prometheus isn't enabled). If so, metrics will automatically be collected by Prometheus and made available in Grafana. You will, however, need to set up your own Dashboard for displaying them."
  254. msgstr ""
  255. #: ../../../docs/configuring-playbook-bridge-hookshot.md:148
  256. msgid "To enable the metrics, add the following configuration to your `vars.yml` file:"
  257. msgstr ""
  258. #: ../../../docs/configuring-playbook-bridge-hookshot.md:155
  259. msgid "**To collect metrics from an external Prometheus server**, besides enabling metrics as described above, you will also need to enable metrics exposure on `https://matrix.example.com/metrics/hookshot` by adding the following configuration to your `vars.yml` file:"
  260. msgstr ""
  261. #: ../../../docs/configuring-playbook-bridge-hookshot.md:161
  262. msgid "By default metrics are exposed publicly **without** password-protection. To password-protect the metrics with dedicated credentials, add the following configuration to your `vars.yml` file:"
  263. msgstr ""
  264. #: ../../../docs/configuring-playbook-bridge-hookshot.md:168
  265. msgid "To `matrix_bridge_hookshot_container_labels_metrics_middleware_basic_auth_users`, set the Basic Authentication credentials (raw `htpasswd` file content) used to protect the endpoint. See https://doc.traefik.io/traefik/middlewares/http/basicauth/#users for details about it."
  266. msgstr ""
  267. #: ../../../docs/configuring-playbook-bridge-hookshot.md:170
  268. msgid "**Note**: alternatively, you can use `matrix_metrics_exposure_enabled` to expose all services on this `/metrics/*` feature, and you can use `matrix_metrics_exposure_http_basic_auth_enabled` and `matrix_metrics_exposure_http_basic_auth_users` to password-protect the metrics of them. See [this section](configuring-playbook-prometheus-grafana.md#collecting-metrics-to-an-external-prometheus-server) for more information."
  269. msgstr ""
  270. #: ../../../docs/configuring-playbook-bridge-hookshot.md:172
  271. msgid "Enable Grafana (optional)"
  272. msgstr ""
  273. #: ../../../docs/configuring-playbook-bridge-hookshot.md:174
  274. msgid "Probably you wish to enable Grafana along with Prometheus for generating graphs of the metrics."
  275. msgstr ""
  276. #: ../../../docs/configuring-playbook-bridge-hookshot.md:176
  277. msgid "To enable Grafana, see [this section](configuring-playbook-prometheus-grafana.md#adjusting-the-playbook-configuration-grafana) for instructions."
  278. msgstr ""
  279. #: ../../../docs/configuring-playbook-bridge-hookshot.md:178
  280. msgid "Troubleshooting"
  281. msgstr ""
  282. #: ../../../docs/configuring-playbook-bridge-hookshot.md:180
  283. 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-hookshot`."
  284. msgstr ""
  285. #: ../../../docs/configuring-playbook-bridge-hookshot.md:182
  286. msgid "Increase logging verbosity"
  287. msgstr ""
  288. #: ../../../docs/configuring-playbook-bridge-hookshot.md:184
  289. msgid "The default logging level for this component is `warn`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:"
  290. msgstr ""