mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
Add support for configuring Synapse's media_storage_providers
In the future, we'll also inject media storage providers that we support into the `matrix_synapse_media_storage_providers_auto` list.
This commit is contained in:
parent
62215a87fe
commit
0da068c7e6
@ -798,6 +798,26 @@ matrix_synapse_spam_checker: []
|
|||||||
# Certain Synapse extensions that you can enable below auto-inject themselves into `matrix_synapse_modules` at runtime.
|
# Certain Synapse extensions that you can enable below auto-inject themselves into `matrix_synapse_modules` at runtime.
|
||||||
matrix_synapse_modules: []
|
matrix_synapse_modules: []
|
||||||
|
|
||||||
|
# matrix_synapse_media_storage_providers contains the Synapse `media_storage_providers` configuration setting.
|
||||||
|
# To add your own custom `media_storage_providers`, use `matrix_synapse_media_storage_providers_custom`.
|
||||||
|
matrix_synapse_media_storage_providers: "{{ matrix_synapse_media_storage_providers_auto + matrix_synapse_media_storage_providers_custom }}"
|
||||||
|
|
||||||
|
# matrix_synapse_media_storage_providers_auto contains a list of storage providers that are added by the playbook based on other configuration
|
||||||
|
matrix_synapse_media_storage_providers_auto: |
|
||||||
|
{{
|
||||||
|
[]
|
||||||
|
}}
|
||||||
|
|
||||||
|
# matrix_synapse_media_storage_providers_custom contains your own custom list of storage providers.
|
||||||
|
# You're meant to define each custom module as valid keys and values, not as a YAML string that needs to be parsed.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# matrix_synapse_media_storage_providers_custom:
|
||||||
|
# - module: module.SomeModule
|
||||||
|
# store_local: True
|
||||||
|
# # ...
|
||||||
|
matrix_synapse_media_storage_providers_custom: []
|
||||||
|
|
||||||
matrix_synapse_encryption_enabled_by_default_for_room_type: "off"
|
matrix_synapse_encryption_enabled_by_default_for_room_type: "off"
|
||||||
|
|
||||||
matrix_synapse_trusted_key_servers:
|
matrix_synapse_trusted_key_servers:
|
||||||
|
@ -1029,6 +1029,7 @@ media_store_path: "/matrix-media-store-parent/{{ matrix_synapse_media_store_dire
|
|||||||
# store_synchronous: false
|
# store_synchronous: false
|
||||||
# config:
|
# config:
|
||||||
# directory: /mnt/some/other/directory
|
# directory: /mnt/some/other/directory
|
||||||
|
media_storage_providers: {{ matrix_synapse_media_storage_providers | to_json }}
|
||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user