mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 04:37:36 +01:00
Upgrade synapse-s3-storage-provider (1.3.0 -> 1.5.0) and adapt configuration
1.3.0 fails to work against the new Synapse (v1.115.0) image. See: https://github.com/matrix-org/synapse-s3-storage-provider/pull/114 Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3535
This commit is contained in:
parent
bc0d4759db
commit
cf5763978b
@ -1231,7 +1231,7 @@ matrix_synapse_ext_encryption_config_yaml: |
|
|||||||
# Installing it requires building a customized Docker image for Synapse (see `matrix_synapse_container_image_customizations_enabled`).
|
# Installing it requires building a customized Docker image for Synapse (see `matrix_synapse_container_image_customizations_enabled`).
|
||||||
# Enabling this will enable customizations and inject the appropriate Dockerfile clauses for installing synapse-s3-storage-provider.
|
# Enabling this will enable customizations and inject the appropriate Dockerfile clauses for installing synapse-s3-storage-provider.
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_enabled: false
|
matrix_synapse_ext_synapse_s3_storage_provider_enabled: false
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_version: 1.3.0
|
matrix_synapse_ext_synapse_s3_storage_provider_version: 1.5.0
|
||||||
# Controls whether media from this (local) server is stored in s3-storage-provider
|
# Controls whether media from this (local) server is stored in s3-storage-provider
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_store_local: true
|
matrix_synapse_ext_synapse_s3_storage_provider_store_local: true
|
||||||
# Controls whether media from remote servers is stored in s3-storage-provider
|
# Controls whether media from remote servers is stored in s3-storage-provider
|
||||||
@ -1242,6 +1242,10 @@ matrix_synapse_ext_synapse_s3_storage_provider_store_remote: true
|
|||||||
# because the local filesystem is a reliable data store anyway.
|
# because the local filesystem is a reliable data store anyway.
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_store_synchronous: false
|
matrix_synapse_ext_synapse_s3_storage_provider_store_synchronous: false
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_config_bucket: ''
|
matrix_synapse_ext_synapse_s3_storage_provider_config_bucket: ''
|
||||||
|
# Prefix for all media in bucket, can't be changed once media has been uploaded.
|
||||||
|
# Useful if sharing the bucket between Synapses
|
||||||
|
# Example value: prefix/to/files/in/bucket
|
||||||
|
matrix_synapse_ext_synapse_s3_storage_provider_config_prefix: ''
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_config_region_name: ''
|
matrix_synapse_ext_synapse_s3_storage_provider_config_region_name: ''
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url: ''
|
matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url: ''
|
||||||
matrix_synapse_ext_synapse_s3_storage_provider_config_access_key_id: ''
|
matrix_synapse_ext_synapse_s3_storage_provider_config_access_key_id: ''
|
||||||
|
@ -7,6 +7,10 @@ AWS_DEFAULT_REGION={{ matrix_synapse_ext_synapse_s3_storage_provider_config_regi
|
|||||||
ENDPOINT={{ matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url }}
|
ENDPOINT={{ matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url }}
|
||||||
BUCKET={{ matrix_synapse_ext_synapse_s3_storage_provider_config_bucket }}
|
BUCKET={{ matrix_synapse_ext_synapse_s3_storage_provider_config_bucket }}
|
||||||
|
|
||||||
|
{% if matrix_synapse_ext_synapse_s3_storage_provider_config_prefix %}
|
||||||
|
PREFIX={{ matrix_synapse_ext_synapse_s3_storage_provider_config_prefix }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_enabled %}
|
{% if matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_enabled %}
|
||||||
SSE_CUSTOMER_KEY={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_key }}
|
SSE_CUSTOMER_KEY={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_key }}
|
||||||
SSE_CUSTOMER_ALGO={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_algo }}
|
SSE_CUSTOMER_ALGO={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_algo }}
|
||||||
|
Loading…
Reference in New Issue
Block a user