|
|
|
@@ -137,10 +137,21 @@ |
|
|
|
[ |
|
|
|
{ |
|
|
|
"module": "s3_storage_provider.S3StorageProviderBackend", |
|
|
|
"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": "matrix_synapse_media_storage_provider_s3_config" |
|
|
|
"config":{ |
|
|
|
"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 }}, |
|
|
|
# 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. |
|
|
|
"region_name": {{ matrix_synapse_media_storage_provider_s3_region_name|to_json }}, |
|
|
|
"endpoint_url": {{ matrix_synapse_media_storage_provider_s3_endpoint_url|to_json }}, |
|
|
|
"access_key_id": {{ matrix_synapse_media_storage_provider_s3_access_key_id|to_json }}, |
|
|
|
"secret_access_key": {{ matrix_synapse_media_storage_provider_s3_secret_access_key|to_json }}, |
|
|
|
"storage_class": {{ matrix_synapse_s3_media_store_storage_class|to_json }}, |
|
|
|
"threadpool_size": {{ matrix_synapse_media_storage_provider_s3_threadpool_size }} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}} |