synapse configuration for
Go to file
chris 48e9c99a33 Merge branch 'trunk' of ssh:// into trunk 2022-05-11 01:31:59 +02:00 flesh out readme 2022-05-11 01:30:52 +02:00
client.yaml init 2022-05-07 15:38:45 +00:00
docker-compose.yaml use external images 2022-05-11 01:30:54 +02:00
federation-receiver.yaml init 2022-05-07 15:38:45 +00:00
federation-sender.yaml init 2022-05-07 15:38:45 +00:00
homeserver.yaml fix 2022-05-11 01:30:51 +02:00 init 2022-05-07 15:38:45 +00:00

Matrix/Synapse configuration

Everything (except for docker-compose.yaml) goes into the data-volume of the synapse installation.

This uses the semi-official synapse image:

Config is cobbled together using the worker documentation: and this blog post:

First time launch:

  • Create containers and volumes: docker-compose up --no-start
  • Generate Keys and config: docker-compose run --rm -e SYNAPSE_SERVER_NAME=??? -e SYNAPSE_REPORT_STATS=no synapse generate
  • Read through the generated homeserver.yaml. Take note of generated keys, etc.
  • Replace homeserver.yaml in your data volume with the one from this repository, adapting to your needs. Use the keys from the step before. Copy the other config-yamls to your /data directory.
  • Start the databases: docker-compose up -d redis postgres
  • Start the synapse services: docker-compose up -d
  • Don't forget to backup your config directory and database
  • Good luck :)