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 556b0c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/eimis-ans/eimis-synapse-image/publish.yml?label=publish&logo=github&branch=main)
![GitHub License](https://img.shields.io/github/license/eimis-ans/eimis-synapse-image)


This repo is meant to build and publish a customized version of [Synapse](https://github.com/element-hq/synapse/). A instant messaging server implementing [Matrix](https://matrix.org/) protocol.

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 556b0c1

Please sign in to comment.