Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

410 lines
17 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2025, 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: 2025-01-27 09:54+0200\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:1
  19. msgid "Setting up matrix-hookshot (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-bridge-hookshot.md:3
  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:5
  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:7
  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:9
  31. msgid "**Note**: the playbook also supports [matrix-appservice-webhooks](configuring-playbook-bridge-appservice-webhooks.md), which however was deprecated by its author."
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-bridge-hookshot.md:11
  34. msgid "Prerequisites"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-bridge-hookshot.md:13
  37. msgid "Download GitHub app private key (optional)"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-bridge-hookshot.md:15
  40. msgid "If you're setting up the GitHub bridge, you need to create your GitHub app, and generate a private key file of it."
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-bridge-hookshot.md:17
  43. 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)."
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-bridge-hookshot.md:19
  46. msgid "Adjusting the playbook configuration"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bridge-hookshot.md:21
  49. 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)."
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-bridge-hookshot.md:35
  52. msgid "For each of the services (GitHub, GitLab, Jira, Figma, and generic webhooks) fill in the respective variables `matrix_hookshot_service_*` listed in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) as required."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-bridge-hookshot.md:37
  55. msgid "Take special note of the `matrix_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)."
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-bridge-hookshot.md:39
  58. msgid "Extending the configuration"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-bridge-hookshot.md:41
  61. msgid "There are some additional things you may wish to configure about the bridge."
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-bridge-hookshot.md:43
  64. msgid "Take a look at:"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-bridge-hookshot.md:45
  67. msgid "`roles/custom/matrix-bridge-hookshot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-bridge-hookshot.md:46
  70. 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_hookshot_configuration_extension_yaml` and `matrix_hookshot_registration_extension_yaml` variables"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-bridge-hookshot.md:48
  73. 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."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-bridge-hookshot.md:50
  76. msgid "Installing"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-bridge-hookshot.md:52
  79. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-bridge-hookshot.md:59
  82. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-service hookshot` or `just setup-all`"
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-bridge-hookshot.md:61
  85. 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."
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-bridge-hookshot.md:63
  88. msgid "Usage"
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-bridge-hookshot.md:65
  91. msgid "To use the bridge, you need to create a room and invite the Hookshot bot (`@hookshot:example.com`) to it."
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-bridge-hookshot.md:67
  94. msgid "Make sure the bot is able to send state events (usually the Moderator power level in clients)."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-bridge-hookshot.md:69
  97. msgid "Send `!hookshot help` to the bot to see the available commands."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-bridge-hookshot.md:71
  100. 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."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-bridge-hookshot.md:73
  103. 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."
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-bridge-hookshot.md:75
  106. msgid "Reset crypto store"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-bridge-hookshot.md:77
  109. msgid "Should the crypto store be corrupted, you can reset it by executing this Ansible playbook with the tag `reset-hookshot-encryption` added:"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-bridge-hookshot.md:83
  112. msgid "More setup documentation"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-bridge-hookshot.md:85
  115. msgid "URLs for bridges setup"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-bridge-hookshot.md:87
  118. msgid "Unless indicated otherwise, the following endpoints are reachable on your `matrix.` subdomain (if the feature is enabled)."
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  121. msgid "Listener"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  124. msgid "Default path"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  127. msgid "Variable"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  130. msgid "Used as"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  133. msgid "-"
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  136. msgid "`/hookshot/webhooks/`"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  139. msgid "`matrix_hookshot_webhook_endpoint`"
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  142. msgid "Webhook-prefix, which affects all webhook-related URLs below"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  145. msgid "generic"
  146. msgstr ""
  147. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  148. msgid "`/hookshot/webhooks/webhook`"
  149. msgstr ""
  150. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  151. msgid "`matrix_hookshot_generic_endpoint`"
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  154. msgid "Generic webhooks"
  155. msgstr ""
  156. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  157. msgid "github oauth"
  158. msgstr ""
  159. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  160. msgid "`/hookshot/webhooks/oauth`"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  163. msgid "`matrix_hookshot_github_oauth_endpoint`"
  164. msgstr ""
  165. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  166. msgid "GitHub \"Callback URL\""
  167. msgstr ""
  168. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  169. msgid "jira oauth"
  170. msgstr ""
  171. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  172. msgid "`/hookshot/webhooks/jira/oauth`"
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  175. msgid "`matrix_hookshot_jira_oauth_endpoint`"
  176. msgstr ""
  177. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  178. msgid "Jira OAuth"
  179. msgstr ""
  180. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  181. msgid "figma endpoint"
  182. msgstr ""
  183. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  184. msgid "`/hookshot/webhooks/figma/webhook`"
  185. msgstr ""
  186. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  187. msgid "`matrix_hookshot_figma_endpoint`"
  188. msgstr ""
  189. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  190. msgid "Figma"
  191. msgstr ""
  192. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  193. msgid "provisioning"
  194. msgstr ""
  195. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  196. msgid "`/hookshot/v1/`"
  197. msgstr ""
  198. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  199. msgid "`matrix_hookshot_provisioning_endpoint`"
  200. msgstr ""
  201. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  202. msgid "Dimension [provisioning](#provisioning-api)"
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  205. msgid "appservice"
  206. msgstr ""
  207. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  208. msgid "`/hookshot/_matrix/app/`"
  209. msgstr ""
  210. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  211. msgid "`matrix_hookshot_appservice_endpoint`"
  212. msgstr ""
  213. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  214. msgid "Matrix server"
  215. msgstr ""
  216. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  217. msgid "widgets"
  218. msgstr ""
  219. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  220. msgid "`/hookshot/widgetapi/`"
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  223. msgid "`matrix_hookshot_widgets_endpoint`"
  224. msgstr ""
  225. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  226. msgid "Widgets"
  227. msgstr ""
  228. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  229. msgid "metrics"
  230. msgstr ""
  231. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  232. msgid "`/metrics/hookshot`"
  233. msgstr ""
  234. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  235. msgid "`matrix_hookshot_metrics_enabled` and exposure enabled via `matrix_hookshot_metrics_proxying_enabled` or `matrix_metrics_exposure_enabled`. Read more in the [Metrics section](#metrics) below."
  236. msgstr ""
  237. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  238. msgid "Prometheus"
  239. msgstr ""
  240. #: ../../../docs/configuring-playbook-bridge-hookshot.md:101
  241. msgid "Also see the various `matrix_hookshot_container_labels_*` variables in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml), which expose URLs publicly."
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-bridge-hookshot.md:103
  244. msgid "The different listeners are also reachable *internally* in the docker-network via the container's name (configured by `matrix_hookshot_container_url`) and on different ports (e.g. `matrix_hookshot_appservice_port`). Read [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) in detail for more info."
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-bridge-hookshot.md:105
  247. msgid "Manage GitHub Private Key with aux role"
  248. msgstr ""
  249. #: ../../../docs/configuring-playbook-bridge-hookshot.md:107
  250. msgid "The GitHub bridge requires you to install a private key file. This can be done in multiple ways:"
  251. msgstr ""
  252. #: ../../../docs/configuring-playbook-bridge-hookshot.md:109
  253. msgid "copy the *contents* of the downloaded file and set the variable `matrix_hookshot_github_private_key` to the contents (see example in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml))."
  254. msgstr ""
  255. #: ../../../docs/configuring-playbook-bridge-hookshot.md:110
  256. msgid "somehow copy the file to the path `{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key_file }}` (default: `/matrix/hookshot/private-key.pem`) on the server manually."
  257. msgstr ""
  258. #: ../../../docs/configuring-playbook-bridge-hookshot.md:111
  259. 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."
  260. msgstr ""
  261. #: ../../../docs/configuring-playbook-bridge-hookshot.md:113
  262. msgid "To use the `aux` role, make sure the `matrix_hookshot_github_private_key` variable is empty. Then add the following configuration to your `vars.yml` file:"
  263. msgstr ""
  264. #: ../../../docs/configuring-playbook-bridge-hookshot.md:124
  265. 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)."
  266. msgstr ""
  267. #: ../../../docs/configuring-playbook-bridge-hookshot.md:126
  268. msgid "Provisioning API"
  269. msgstr ""
  270. #: ../../../docs/configuring-playbook-bridge-hookshot.md:128
  271. msgid "The provisioning API will be enabled automatically if you set `matrix_dimension_enabled: true` and provided a `matrix_hookshot_provisioning_secret`, unless you override it either way. To use hookshot with dimension, you will need to enter as \"Provisioning URL\": `http://matrix-hookshot:9002`, which is made up of the variables `matrix_hookshot_container_url` and `matrix_hookshot_provisioning_port`."
  272. msgstr ""
  273. #: ../../../docs/configuring-playbook-bridge-hookshot.md:130
  274. msgid "Metrics"
  275. msgstr ""
  276. #: ../../../docs/configuring-playbook-bridge-hookshot.md:132
  277. 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."
  278. msgstr ""
  279. #: ../../../docs/configuring-playbook-bridge-hookshot.md:134
  280. msgid "To explicitly enable metrics, use `matrix_hookshot_metrics_enabled: true`. This only exposes metrics over the container network, however."
  281. msgstr ""
  282. #: ../../../docs/configuring-playbook-bridge-hookshot.md:136
  283. 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:"
  284. msgstr ""
  285. #: ../../../docs/configuring-playbook-bridge-hookshot.md:138
  286. msgid "either enabling metrics exposure for Hookshot via `matrix_hookshot_metrics_proxying_enabled: true`"
  287. msgstr ""
  288. #: ../../../docs/configuring-playbook-bridge-hookshot.md:139
  289. msgid "or enabling metrics exposure for all services via `matrix_metrics_exposure_enabled: true`"
  290. msgstr ""
  291. #: ../../../docs/configuring-playbook-bridge-hookshot.md:141
  292. msgid "Whichever one you go with, by default metrics are exposed publicly **without** password-protection. See [the Prometheus and Grafana docs](configuring-playbook-prometheus-grafana.md) for details about password-protection for metrics."
  293. msgstr ""
  294. #: ../../../docs/configuring-playbook-bridge-hookshot.md:143
  295. msgid "Collision with matrix-appservice-webhooks"
  296. msgstr ""
  297. #: ../../../docs/configuring-playbook-bridge-hookshot.md:145
  298. msgid "If you are also running [matrix-appservice-webhooks](configuring-playbook-bridge-appservice-webhooks.md), it reserves its namespace by the default setting `matrix_appservice_webhooks_user_prefix: '_webhook_'`. You should take care if you modify its or hookshot's prefix that they do not collide with each other's namespace (default `matrix_hookshot_generic_userIdPrefix: '_webhooks_'`)."
  299. msgstr ""
  300. #: ../../../docs/configuring-playbook-bridge-hookshot.md:147
  301. msgid "Troubleshooting"
  302. msgstr ""
  303. #: ../../../docs/configuring-playbook-bridge-hookshot.md:149
  304. 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-bridge-hookshot`."
  305. msgstr ""
  306. #: ../../../docs/configuring-playbook-bridge-hookshot.md:151
  307. msgid "Increase logging verbosity"
  308. msgstr ""
  309. #: ../../../docs/configuring-playbook-bridge-hookshot.md:153
  310. 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:"
  311. msgstr ""