Skip to content

Commit

Permalink
feat: install s3_storage_provider module
Browse files Browse the repository at this point in the history
  • Loading branch information
ad2ien committed Mar 18, 2024
1 parent 4cff5cb commit e547c76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
FROM matrixdotorg/synapse:v1.102.0

COPY ./custom-synapse/html-templates/*.html /usr/local/lib/python3.11/site-packages/synapse/res/templates/
ARG S3_MEDIA_MODULE_VERSION=v1.4.0

COPY ./html-templates/*.html /usr/local/lib/python3.11/site-packages/synapse/res/templates/

ADD https://raw.githubusercontent.com/matrix-org/synapse-s3-storage-provider/${S3_MEDIA_MODULE_VERSION}/s3_storage_provider.py /usr/local/lib/python3.11/site-packages/s3_storage_provider.py
RUN pip install --no-cache-dir boto3==1.34.64
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This repo is meant to build and publish a customized version of [Synapse](https:
The docker image is published to [Docker Hub](https://hub.docker.com/r/eimisans/eimis-synapse). The version will be :
`v[SYNAPSE_VERSION]-[EIMIS_INCREMENTAL_NUMBER]`

Included modules projects are present in sub directories:
Files and modules included in the image

-
-
- [Synaspe S3 storage provider](https://github.com/matrix-org/synapse-s3-storage-provider)
- Html templates

## Try it out locally

Expand Down

0 comments on commit e547c76

Please sign in to comment.