matrix-docker-ansible-deploy/roles/matrix-synapse/tasks
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
..
ext
goofys
rust-synapse-compress-state
synapse
workers Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
import_media_store.yml
init.yml Run Synapse workers in their own containers 2021-01-25 12:14:46 +02:00
main.yml
register_user.yml
self_check_client_api.yml
self_check_federation_api.yml
setup_synapse.yml Merge branch 'synapse-workers' into feature/add-worker-support 2020-08-27 15:22:12 +02:00
update_user_password.yml
validate_config.yml Reorganize Postgres access (breaking change) 2021-01-22 13:26:12 +02:00