|
@@ -94,20 +94,6 @@ worker_replication_host: synapse
|
|
|
worker_replication_http_port: 9093
|
|
|
```
|
|
|
|
|
|
-### Add Workers to `instance_map`
|
|
|
-
|
|
|
-Locate the `instance_map` section of your `homeserver.yaml` and populate it with your workers:
|
|
|
-
|
|
|
-```yaml
|
|
|
-instance_map:
|
|
|
- synapse-generic-worker-1: # The worker_name setting in your worker configuration file
|
|
|
- host: synapse-generic-worker-1 # The name of the worker service in your Docker Compose file
|
|
|
- port: 8034 # The port assigned to the replication listener in your worker config file
|
|
|
- synapse-federation-sender-1:
|
|
|
- host: synapse-federation-sender-1
|
|
|
- port: 8034
|
|
|
-```
|
|
|
-
|
|
|
### Configure Federation Senders
|
|
|
|
|
|
This section is applicable if you are using Federation senders (synapse.app.federation_sender). Locate the `send_federation` and `federation_sender_instances` settings in your `homeserver.yaml` and configure them:
|
|
@@ -122,4 +108,4 @@ federation_sender_instances:
|
|
|
|
|
|
## Other Worker types
|
|
|
|
|
|
-Using the concepts shown here it is possible to create other worker types in Docker Compose. See the [Workers](https://matrix-org.github.io/synapse/latest/workers.html#available-worker-applications) documentation for a list of available workers.
|
|
|
+Using the concepts shown here it is possible to create other worker types in Docker Compose. See the [Workers](https://matrix-org.github.io/synapse/latest/workers.html#available-worker-applications) documentation for a list of available workers.
|