From 136d1761766e94c502f4d18dba8b16422e62d159 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 17 Sep 2021 18:49:45 +0200 Subject: Synapse does not use GlusterFS anymore --- app/docker-compose.yml | 2 +- app/im/build/matrix-synapse/Dockerfile | 1 + app/im/build/matrix-synapse/matrix-s3-async | 16 ++++++++++ app/im/deploy/im.hcl | 45 ++++++++++++++++++++++++++--- 4 files changed, 59 insertions(+), 5 deletions(-) create mode 100755 app/im/build/matrix-synapse/matrix-s3-async diff --git a/app/docker-compose.yml b/app/docker-compose.yml index 65ce98a..cebe914 100644 --- a/app/docker-compose.yml +++ b/app/docker-compose.yml @@ -18,7 +18,7 @@ services: VERSION: 1.42.0 # https://github.com/matrix-org/synapse-s3-storage-provider/commits/main S3_VERSION: 3c3fafd6a2624f05fd396d9e003501bf8bef7b2e - image: superboum/amd64_synapse:v46 + image: superboum/amd64_synapse:v47 # Email sogo: diff --git a/app/im/build/matrix-synapse/Dockerfile b/app/im/build/matrix-synapse/Dockerfile index 48cf2c7..d410779 100644 --- a/app/im/build/matrix-synapse/Dockerfile +++ b/app/im/build/matrix-synapse/Dockerfile @@ -46,6 +46,7 @@ RUN apt-get update && \ ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 COPY --from=builder /root/matrix-env /root/matrix-env +COPY matrix-s3-async /usr/local/bin/matrix-s3-async COPY entrypoint.sh /usr/local/bin/entrypoint ENTRYPOINT ["/usr/local/bin/entrypoint"] diff --git a/app/im/build/matrix-synapse/matrix-s3-async b/app/im/build/matrix-synapse/matrix-s3-async new file mode 100755 index 0000000..e435144 --- /dev/null +++ b/app/im/build/matrix-synapse/matrix-s3-async @@ -0,0 +1,16 @@ +#!/bin/bash + +cat > database.yaml <