diff --git a/coreos-config/roles/compose_project/templates/matrix/synapse-config/homeserver.yaml b/coreos-config/roles/compose_project/templates/matrix/synapse-config/homeserver.yaml index 8bbd085..24a3609 100644 --- a/coreos-config/roles/compose_project/templates/matrix/synapse-config/homeserver.yaml +++ b/coreos-config/roles/compose_project/templates/matrix/synapse-config/homeserver.yaml @@ -99,5 +99,18 @@ modules: # - authenticate using `m.login.password` requests, instead of ``com.devture.shared_secret_auth` requests # com_devture_shared_secret_auth_support_enabled: false +media_storage_providers: + - module: s3_storage_provider.S3StorageProviderBackend + store_local: True + store_remote: True + store_synchronous: True + config: + bucket: "{{ matrix.storage.s3.bucket }}" + # All of the below options are optional, for use with non-AWS S3-like + # services, or to specify access tokens here instead of some external method. + endpoint_url: "{{ matrix.storage.s3.endpoint_url }}" + access_key_id: "{{ matrix.storage.s3.access_key_id }}" + secret_access_key: "{{ matrix.storage.s3.secret_access_key }}" + # vim:ft=yaml