the fastest way to get a matrix synapse homeserver up and running
2025-08-14 09:48:31 +02:00
scripts Remove delegation 2025-08-14 09:48:31 +02:00
.env Remove delegation 2025-08-14 09:48:31 +02:00
docker-compose.yml Remove delegation 2025-08-14 09:48:31 +02:00
LICENSE initial commit 2024-02-11 21:03:10 +00:00
README.md remove sliding sync 2025-08-14 09:40:36 +02:00
reverse-proxy-docker-compose.yml doc: add info on how the reverse proxy should function 2024-02-25 21:17:55 +00:00

Docker config to host synapse on a subdomain

Requirements

This project requires a reverse proxy to be running. You can use the recommended docker-compose file to quickly get up and running.

mkdir ../reverse-proxy
cp reverse-proxy-docker-compose.yml ../reverse-proxy/docker-compose.yml
# edit your email in `../reverse-proxy/docker-compose.yml` or use an environment variable
DEFAULT_MAIL=<your-email-address-here> sudo docker-compose -f ../reverse-proxy/docker-compose.yml up -d

If you do not want to use this reverse proxy, use sudo docker-compose config to take a look at which VIRTUAL_HOST and VIRTUAL_PORT to proxy_pass your requests to, after editing .env.

Installation

Edit variables

nano .env

If you have a policy that you want your users to consent to, save it to data/synapse/user_consent/en/. If the version of this policy is 1.0 save it to

data/synapse/user_consent/en/1.0.html

More info on consent tracking.

Creating the synapse config file:

./scripts/synapse/make_synapse_config.sh

Starting the containers

docker-compose up -d