matrix-docker-ansible-deploy/roles/matrix-synapse/tasks/workers
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
..
util Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
setup.yml Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
setup_install.yml Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
setup_uninstall.yml Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00