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.
 
 

165 regels
9.1 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-matrix-media-repo.md:1
  19. msgid "Storing Matrix media files using matrix-media-repo (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-matrix-media-repo.md:3
  22. msgid "[matrix-media-repo](https://docs.t2bot.io/matrix-media-repo/) (often abbreviated \"MMR\") is a highly customizable multi-domain media repository for Matrix. Intended for medium to large environments consisting of several homeservers, this media repo de-duplicates media (including remote media) while being fully compliant with the specification."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-matrix-media-repo.md:5
  25. msgid "Smaller/individual homeservers can still make use of this project's features, though it may be difficult to set up or have higher than expected resource consumption. Please do your research before deploying this as this project may not be useful for your environment."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-matrix-media-repo.md:7
  28. msgid "For a simpler alternative (which allows you to offload your media repository storage to S3, etc.), you can [configure S3 storage](configuring-playbook-s3.md) instead of setting up matrix-media-repo."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-matrix-media-repo.md:0
  31. msgid "**Table of Contents**"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-matrix-media-repo.md:0
  34. msgid "[Quickstart](#quickstart)"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-matrix-media-repo.md:0
  37. msgid "[Additional configuration options](#configuring-the-media-repo)"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-matrix-media-repo.md:0
  40. msgid "[Importing data from an existing media store](#importing-data-from-an-existing-media-store)"
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-matrix-media-repo.md:15
  43. msgid "Quickstart"
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-matrix-media-repo.md:17
  46. msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file and [re-run the installation process](./installing.md) for the playbook:"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-matrix-media-repo.md:26
  49. msgid "The repo is pre-configured for integrating with the Postgres database, Traefik proxy and [Prometheus/Grafana](configuring-playbook-prometheus-grafana.md) (if metrics enabled) from this playbook for all the available homeserver roles. When the media repo is enabled, other media store roles should be disabled (if using Synapse with other media store roles)."
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-matrix-media-repo.md:28
  52. msgid "By default, the media-repo will use the local filesystem for data storage. You can alternatively use a `s3` cloud backend as well. Access token caching is also enabled by default since the logout endpoints are proxied through the media repo."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-matrix-media-repo.md:30
  55. msgid "Configuring the media-repo"
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-matrix-media-repo.md:32
  58. msgid "Additional common configuration options:"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-matrix-media-repo.md:91
  61. msgid "Full list of configuration options with documentation can be found in [`roles/custom/matrix-media-repo/defaults/main.yml`](../roles/custom/matrix-media-repo/defaults/main.yml)"
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-matrix-media-repo.md:93
  64. msgid "Signing Keys"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-matrix-media-repo.md:95
  67. msgid "Authenticated media endpoints ([MSC3916](https://github.com/matrix-org/matrix-spec-proposals/pull/3916)) requires MMR to have a configured signing key to authorize outbound federation requests. Additionally, the signing key must be merged with your homeserver's signing key file."
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-matrix-media-repo.md:97
  70. msgid "The playbook default is to generate a MMR signing key when invoking the setup role and merge it with your homeserver if you are using Synapse or Dendrite. This can be disabled if desired by setting the option in your inventory:"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-matrix-media-repo.md:103
  73. msgid "If you wish to manually generate the signing key and merge it with your homeserver's signing key file, see https://docs.t2bot.io/matrix-media-repo/v1.3.5/installation/signing-key/ for more details."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-matrix-media-repo.md:105
  76. msgid "**Note that if you uninstall MMR from the playbook, it will not remove the old MMR signing key from your homeserver's signing key file. You will have to remove it manually.**"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-matrix-media-repo.md:107
  79. msgid "Key backup and revoking"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-matrix-media-repo.md:109
  82. msgid "Since your homeserver signing key file is modified by the playbook, a backup will be created in `HOMESERVER_DIR/config/example.com.signing.key.backup`. If you need to remove/revoke old keys, you can restore from this backup or remove the MMR key ID from your `example.com.signing.key` file."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-matrix-media-repo.md:111
  85. msgid "Additionally, its recommended after revoking a signing key to update your homeserver config file (`old_signing_keys` field for Synapse and `old_private_keys` for Dendrite). See your homeserver config file for further documentation on how to populate the field."
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-matrix-media-repo.md:113
  88. msgid "Importing data from an existing media store"
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-matrix-media-repo.md:115
  91. msgid "If you want to add this repo to an existing homeserver managed by the playbook, you will need to import existing media into MMR's database or you will lose access to older media while it is active. MMR versions up to `v1.3.3` only support importing from Synapse, but newer versions (at time of writing: only `latest`) also support importing from Dendrite."
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-matrix-media-repo.md:117
  94. msgid "**Before importing**: ensure you have an initial matrix-media-repo deployment by following the [quickstart](#quickstart) guide above"
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-matrix-media-repo.md:119
  97. msgid "Depending on the homeserver implementation yu're using (Synapse, Dendrite), you'll need to use a different import tool (part of matrix-media-repo) and point it to the homeserver's database."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-matrix-media-repo.md:121
  100. msgid "Importing data from the Synapse media store"
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-matrix-media-repo.md:123
  103. msgid "To import the Synapse media store, you're supposed to invoke the `import_synapse` tool which is part of the matrix-media-repo container image. Your Synapse database is called `synapse` by default, unless you've changed it by modifying `matrix_synapse_database_database`."
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-matrix-media-repo.md:125
  106. msgid "This guide here is adapted from the [upstream documentation about the import_synapse script](https://github.com/turt2live/matrix-media-repo#importing-media-from-synapse)."
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-matrix-media-repo.md:127
  109. #: ../../../docs/configuring-playbook-matrix-media-repo.md:149
  110. msgid "Run the following command on the server (after replacing `postgres_connection_password` in it with the value found in your `vars.yml` file):"
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-matrix-media-repo.md:139
  113. #: ../../../docs/configuring-playbook-matrix-media-repo.md:161
  114. msgid "Enter `1` for the Machine ID when prompted (you are not doing any horizontal scaling) unless you know what you're doing."
  115. msgstr ""
  116. #: ../../../docs/configuring-playbook-matrix-media-repo.md:141
  117. #: ../../../docs/configuring-playbook-matrix-media-repo.md:163
  118. msgid "This should output a `msg=\"Import completed\"` when finished successfully!"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-matrix-media-repo.md:143
  121. msgid "Importing data from the Dendrite media store"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-matrix-media-repo.md:145
  124. msgid "If you're using the [Dendrite](configuring-playbook-dendrite.md) homeserver instead of the default for this playbook (Synapse), follow this importing guide here."
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-matrix-media-repo.md:147
  127. msgid "To import the Dendrite media store, you're supposed to invoke the `import_dendrite` tool which is part of the matrix-media-repo container image. Your Dendrite database is called `dendrite_mediaapi` by default, unless you've changed it by modifying `matrix_dendrite_media_api_database`."
  128. msgstr ""