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.
 
 

374 lines
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-02-13 10:32+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:43
  49. 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."
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-bridge-hookshot.md:45
  52. 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)."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-bridge-hookshot.md:47
  55. msgid "Extending the configuration"
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-bridge-hookshot.md:49
  58. msgid "There are some additional things you may wish to configure about the bridge."
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-bridge-hookshot.md:51
  61. msgid "Take a look at:"
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-bridge-hookshot.md:53
  64. msgid "`roles/custom/matrix-bridge-hookshot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-bridge-hookshot.md:54
  67. 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"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-bridge-hookshot.md:56
  70. 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."
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-bridge-hookshot.md:58
  73. msgid "Installing"
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-bridge-hookshot.md:60
  76. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-bridge-hookshot.md:67
  79. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-service hookshot` or `just setup-all`"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-bridge-hookshot.md:69
  82. 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."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-bridge-hookshot.md:71
  85. msgid "Usage"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-bridge-hookshot.md:73
  88. msgid "To use the bridge, you need to create a room and invite the Hookshot bot (`@hookshot:example.com`) to it."
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-bridge-hookshot.md:75
  91. msgid "Make sure the bot is able to send state events (usually the Moderator power level in clients)."
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-bridge-hookshot.md:77
  94. msgid "Send `!hookshot help` to the bot to see the available commands."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-bridge-hookshot.md:79
  97. 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."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-bridge-hookshot.md:81
  100. 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."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-bridge-hookshot.md:83
  103. msgid "Reset crypto store"
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-bridge-hookshot.md:85
  106. msgid "Should the crypto store be corrupted, you can reset it by executing this Ansible playbook with the tag `reset-hookshot-encryption` added:"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-bridge-hookshot.md:91
  109. msgid "More setup documentation"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-bridge-hookshot.md:93
  112. msgid "URLs for bridges setup"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-bridge-hookshot.md:95
  115. msgid "Unless indicated otherwise, the following endpoints are reachable on your `matrix.` subdomain (if the feature is enabled)."
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  118. msgid "Listener"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  121. msgid "Default path"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  124. msgid "Variable"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  127. msgid "Used as"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  130. msgid "-"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  133. msgid "`/hookshot/webhooks/`"
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  136. msgid "`matrix_hookshot_webhook_endpoint`"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  139. msgid "Webhook-prefix, which affects all webhook-related URLs below"
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  142. msgid "generic"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  145. msgid "`/hookshot/webhooks/webhook`"
  146. msgstr ""
  147. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  148. msgid "`matrix_hookshot_generic_endpoint`"
  149. msgstr ""
  150. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  151. msgid "Generic webhooks"
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  154. msgid "github oauth"
  155. msgstr ""
  156. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  157. msgid "`/hookshot/webhooks/oauth`"
  158. msgstr ""
  159. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  160. msgid "`matrix_hookshot_github_oauth_endpoint`"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  163. msgid "GitHub \"Callback URL\""
  164. msgstr ""
  165. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  166. msgid "jira oauth"
  167. msgstr ""
  168. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  169. msgid "`/hookshot/webhooks/jira/oauth`"
  170. msgstr ""
  171. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  172. msgid "`matrix_hookshot_jira_oauth_endpoint`"
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  175. msgid "Jira OAuth"
  176. msgstr ""
  177. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  178. msgid "figma endpoint"
  179. msgstr ""
  180. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  181. msgid "`/hookshot/webhooks/figma/webhook`"
  182. msgstr ""
  183. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  184. msgid "`matrix_hookshot_figma_endpoint`"
  185. msgstr ""
  186. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  187. msgid "Figma"
  188. msgstr ""
  189. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  190. msgid "appservice"
  191. msgstr ""
  192. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  193. msgid "`/hookshot/_matrix/app/`"
  194. msgstr ""
  195. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  196. msgid "`matrix_hookshot_appservice_endpoint`"
  197. msgstr ""
  198. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  199. msgid "Matrix server"
  200. msgstr ""
  201. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  202. msgid "widgets"
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  205. msgid "`/hookshot/widgetapi/`"
  206. msgstr ""
  207. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  208. msgid "`matrix_hookshot_widgets_endpoint`"
  209. msgstr ""
  210. #: ../../../docs/configuring-playbook-bridge-hookshot.md:0
  211. msgid "Widgets"
  212. msgstr ""
  213. #: ../../../docs/configuring-playbook-bridge-hookshot.md:107
  214. 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."
  215. msgstr ""
  216. #: ../../../docs/configuring-playbook-bridge-hookshot.md:109
  217. 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."
  218. msgstr ""
  219. #: ../../../docs/configuring-playbook-bridge-hookshot.md:111
  220. msgid "Manage GitHub Private Key with aux role"
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-bridge-hookshot.md:113
  223. msgid "The GitHub bridge requires you to install a private key file. This can be done in multiple ways:"
  224. msgstr ""
  225. #: ../../../docs/configuring-playbook-bridge-hookshot.md:115
  226. 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))."
  227. msgstr ""
  228. #: ../../../docs/configuring-playbook-bridge-hookshot.md:116
  229. 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."
  230. msgstr ""
  231. #: ../../../docs/configuring-playbook-bridge-hookshot.md:117
  232. 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."
  233. msgstr ""
  234. #: ../../../docs/configuring-playbook-bridge-hookshot.md:119
  235. 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:"
  236. msgstr ""
  237. #: ../../../docs/configuring-playbook-bridge-hookshot.md:130
  238. 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)."
  239. msgstr ""
  240. #: ../../../docs/configuring-playbook-bridge-hookshot.md:132
  241. msgid "Enable metrics"
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-bridge-hookshot.md:134
  244. msgid "The playbook can enable and configure the metrics of the service for you."
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-bridge-hookshot.md:136
  247. 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."
  248. msgstr ""
  249. #: ../../../docs/configuring-playbook-bridge-hookshot.md:138
  250. msgid "To enable the metrics, add the following configuration to your `vars.yml` file:"
  251. msgstr ""
  252. #: ../../../docs/configuring-playbook-bridge-hookshot.md:145
  253. 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:"
  254. msgstr ""
  255. #: ../../../docs/configuring-playbook-bridge-hookshot.md:151
  256. 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:"
  257. msgstr ""
  258. #: ../../../docs/configuring-playbook-bridge-hookshot.md:158
  259. msgid "To `matrix_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."
  260. msgstr ""
  261. #: ../../../docs/configuring-playbook-bridge-hookshot.md:160
  262. 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."
  263. msgstr ""
  264. #: ../../../docs/configuring-playbook-bridge-hookshot.md:162
  265. msgid "Enable Grafana (optional)"
  266. msgstr ""
  267. #: ../../../docs/configuring-playbook-bridge-hookshot.md:164
  268. msgid "Probably you wish to enable Grafana along with Prometheus for generating graphs of the metrics."
  269. msgstr ""
  270. #: ../../../docs/configuring-playbook-bridge-hookshot.md:166
  271. msgid "To enable Grafana, see [this section](configuring-playbook-prometheus-grafana.md#adjusting-the-playbook-configuration-grafana) for instructions."
  272. msgstr ""
  273. #: ../../../docs/configuring-playbook-bridge-hookshot.md:168
  274. msgid "Troubleshooting"
  275. msgstr ""
  276. #: ../../../docs/configuring-playbook-bridge-hookshot.md:170
  277. 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`."
  278. msgstr ""
  279. #: ../../../docs/configuring-playbook-bridge-hookshot.md:172
  280. msgid "Increase logging verbosity"
  281. msgstr ""
  282. #: ../../../docs/configuring-playbook-bridge-hookshot.md:174
  283. 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:"
  284. msgstr ""