Explorar el Código

Media Option renaming

pull/1769/head
Markus hace 3 años
padre
commit
5b5b8002ea
Se han modificado 2 ficheros con 6 adiciones y 6 borrados
  1. +3
    -3
      roles/matrix-synapse/defaults/main.yml
  2. +3
    -3
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 3
- 3
roles/matrix-synapse/defaults/main.yml Ver fichero

@@ -580,10 +580,10 @@ matrix_synapse_ext_encryption_config_yaml: |
# So with setting matrix_synapse_media_storage_provider_s3_enabled to true the matrix_synapse_container_image_self_build is overwritten.
# All configuration options are avaliable here: https://github.com/matrix-org/synapse-s3-storage-provider
matrix_synapse_media_storage_provider_s3_enabled: false
# Save media on remote S3 Bucket
matrix_synapse_s3_media_store_on_s3: false
# Save media on local media store
matrix_synapse_media_storage_provider_s3_store_local: false
# Save media on remote media store
matrix_synapse_media_storage_provider_s3_store_remote: true
matrix_synapse_s3_media_store_on_local_filesystem: true
# Synchronous upload
matrix_synapse_media_storage_provider_s3_store_synchronous: false



+ 3
- 3
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Ver fichero

@@ -1044,9 +1044,9 @@ media_store_path: "/matrix-media-store-parent/{{ matrix_synapse_media_store_dire
media_storage_providers:
- module: s3_storage_provider.S3StorageProviderBackend
# In the context of this module the local store means the S3 Bucket
# and the remote store the local volume ¯\_(ツ)_/¯ (i swaped it for convenience)
store_local: {{ matrix_synapse_media_storage_provider_s3_store_local }}
store_remote: {{ matrix_synapse_media_storage_provider_s3_store_remote }}
# and the remote store the local volume ¯\_(ツ)_/¯
store_local: {{ matrix_synapse_s3_media_store_on_s3 }}
store_remote: {{ matrix_synapse_s3_media_store_on_local_filesystem }}
store_synchronous: {{ matrix_synapse_media_storage_provider_s3_store_synchronous }}
config:
bucket: {{ matrix_synapse_media_storage_provider_s3_bucket|to_json }}


Cargando…
Cancelar
Guardar