Matrix Synapse Docker-Compose
Go to file
Tommy 3a5e9979b0
Add Mjolnir reverse proxy
Signed-off-by: Tommy <contact@tommytran.io>
2022-09-07 13:44:44 -04:00
swag/nginx Add Mjolnir reverse proxy 2022-09-07 13:44:44 -04:00
.env Increase timeout to 3 minutes 2022-09-05 07:25:36 -04:00
docker-compose.yml Add UID:GID 2022-09-06 11:46:03 -04:00
LICENSE Initial commit 2022-01-13 10:19:52 -05:00
README.md Update 2022-07-04 13:43:59 -04:00

Synapse-Docker-Compose

Matrix Synapse Docker-Compose

  1. Update docker-compose.yml
  2. Run docker-compose run --rm -e SYNAPSE_SERVER_NAME=yourdomain.tld -e SYNAPSE_REPORT_STATS=no synapse generate
  3. Update ./files/homeserver.yaml
    • Update web_client_location to app.yourdomain.tld (Remember to remove the comment #)
    • Update public_baseurl to matrix.yourdomain.tld (Remember to remove the comment #)
    • Uncomment serve_server_wellknown to enable it and configure https://yourdoman.tld/.well-known/matrix/server for federation
    • Change pepper in your password config. Uncomment the setting to enable it.
    • Change the default database from SQLite to PostgreSQL
    • Configure the mail credentials if you have a mail server
    • Configure admin_contact in the homeserver blocking section
    • Enable encryption_enabled_by_default_for_room_type by default
    • Edit whatever else you might want to
  4. Copy config.sample.json from https://github.com/vector-im/element-web to ./element/config.json and make the approriate adjustments
  5. Copy the config from https://github.com/matrix-org/pantalaimon to ./pantalaimon/pantalaimon.conf and edit it accordingly
  6. Run docker-compose up and make sure nothing errors out. You can use docker-compose up -d to start it in the background if you want.
  7. Create a user for mjolnir
  8. Copy the config from https://github.com/matrix-org/mjolnir/blob/main/config/default.yaml to `./mjolnir/config/production.yaml and edit it accordingly.