瀏覽代碼

updated MMR yaml defaults and docs for basic dendrite support

pull/3038/head
axiopaladin 2 年之前
父節點
當前提交
da039614fd
無法提取簽署
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      docs/configuring-playbook-matrix-media-repo.md
  2. +1
    -1
      roles/custom/matrix-media-repo/defaults/main.yml

+ 2
- 2
docs/configuring-playbook-matrix-media-repo.md 查看文件

@@ -1,6 +1,6 @@
# Setting up matrix-media-repo (optional)

[matrix-media-repo](https://docs.t2bot.io/matrix-media-repo/) 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.
[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.

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.

@@ -102,5 +102,5 @@ matrix_media_repo_datastores:

```

Full list of configuration options with documentation can be found in `roles/custom/matrix-media-repo/templates/defaults/main.yml`
Full list of configuration options with documentation can be found in [`roles/custom/matrix-media-repo/defaults/main.yml`](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/roles/custom/matrix-media-repo/defaults/main.yml)


+ 1
- 1
roles/custom/matrix-media-repo/defaults/main.yml 查看文件

@@ -166,7 +166,7 @@ matrix_media_repo_homeservers_auto:
# during certain operations, like attempting to purge media from a room or validating server
# admin status. This should be set to one of "synapse", "dendrite", or "matrix". When set
# to "matrix", most functionality requiring the admin API will not work.
adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else 'matrix' }}"
adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else 'dendrite' if matrix_homeserver_implementation == 'dendrite' else 'matrix' }}"

# Additional servers to be managed by MMR
matrix_media_repo_homeservers_additional: []


Loading…
取消
儲存