the fastest way to get a matrix synapse homeserver up and running
- Shell 100%
| scripts | Remove delegation | |
| .env | Remove delegation | |
| docker-compose.yml | Remove delegation | |
| LICENSE | initial commit | |
| README.md | remove sliding sync | |
| reverse-proxy-docker-compose.yml | doc: add info on how the reverse proxy should function | |
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
Optional consent tracking
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