1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-synapse/templates/synapse
Slavi Pantaleev 70796703d3 Run Synapse workers in their own containers
This switches the `docker exec` method of spawning
Synapse workers inside the `matrix-synapse` container with
dedicated containers for each worker.

We also have dedicated systemd services for each worker,
so this are now:
- more consistent with everything else (we don't use systemd
instantiated services anywhere)
- we don't need the "parse systemd instance name into worker name +
port" part
- we don't need to keep track of PIDs manually
- we don't need jq (less depenendencies)
- workers dying would be restarted by systemd correctly, like any other
service
- `docker ps` shows each worker separately and we can observe resource
usage
2021-01-25 12:14:46 +02:00
..
systemd Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
usr-local-bin Quote docker args in case inputs contain spaces 2019-10-14 08:59:56 +01:00
homeserver.yaml.j2 Merge remote-tracking branch 'origin/master' into synapse-workers 2021-01-23 15:04:11 +01:00
synapse.log.config.j2 Make Synapse log messages a bit prettier 2019-07-04 18:19:52 +03:00
worker.yaml.j2 Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00