mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-24 01:48:29 +01:00
Remove git version for s3 storage provider
This commit is contained in:
parent
3a28b7e332
commit
fc9eaa6ec5
@ -45,8 +45,6 @@ matrix_synapse_ext_synapse_s3_storage_provider_config_storage_class: STANDARD #
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_enabled: true
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_key: ssec-key-goes-here # Generate with: cat /dev/urandom | base64 | head -c 32
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_algo: AES256
|
||||
# Using the git version is also required for SSE-C until > v1.1.2 is released
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_version: git
|
||||
|
||||
# For additional advanced settings, take a look at `roles/custom/matrix-synapse/defaults/main.yml`
|
||||
```
|
||||
|
@ -791,7 +791,7 @@ matrix_synapse_ext_encryption_config_yaml: |
|
||||
# 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.
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_enabled: false
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_version: 1.1.2
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_version: 1.2.0
|
||||
# Controls whether media from this (local) server is stored in s3-storage-provider
|
||||
matrix_synapse_ext_synapse_s3_storage_provider_store_local: true
|
||||
# Controls whether media from remote servers is stored in s3-storage-provider
|
||||
|
@ -1,11 +1,7 @@
|
||||
FROM {{ matrix_synapse_docker_image }}
|
||||
|
||||
{% if matrix_synapse_container_image_customizations_s3_storage_provider_installation_enabled %}
|
||||
{% if matrix_synapse_ext_synapse_s3_storage_provider_version == 'git' %}
|
||||
RUN apt-get update -yq && apt-get install -yq git && pip install git+https://github.com/matrix-org/synapse-s3-storage-provider.git
|
||||
{% else %}
|
||||
RUN pip install synapse-s3-storage-provider=={{ matrix_synapse_ext_synapse_s3_storage_provider_version }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ matrix_synapse_container_image_customizations_dockerfile_body_custom }}
|
||||
|
Loading…
Reference in New Issue
Block a user