Matrix: Store media on S3

This commit is contained in:
Tobias Manske 2023-03-05 06:21:58 +01:00
parent 2bcdc2da64
commit eab873410d
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -99,5 +99,18 @@ modules:
# - authenticate using `m.login.password` requests, instead of ``com.devture.shared_secret_auth` requests # - authenticate using `m.login.password` requests, instead of ``com.devture.shared_secret_auth` requests
# com_devture_shared_secret_auth_support_enabled: false # 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 # vim:ft=yaml