mirror of
https://git.anonymousland.org/deathrow/synapse-docker-deployment.git
synced 2025-12-15 10:47:41 -05:00
Pusher + Metrics
This commit is contained in:
parent
054ff6324b
commit
28ce7eba60
14 changed files with 194 additions and 31 deletions
|
|
@ -3,5 +3,8 @@ worker_name: federation1
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/federation1.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: metrics
|
||||
port: 9092
|
||||
|
|
@ -3,5 +3,8 @@ worker_name: federation2
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/federation2.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: metrics
|
||||
port: 9092
|
||||
|
|
@ -3,5 +3,8 @@ worker_name: federation3
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/federation3.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: metrics
|
||||
port: 9092
|
||||
10
files/workers/pusher.yaml
Normal file
10
files/workers/pusher.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
worker_app: synapse.app.generic_worker
|
||||
worker_name: pusher
|
||||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_log_config: /data/log/pusher.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: metrics
|
||||
port: 9092
|
||||
|
|
@ -3,14 +3,19 @@ worker_name: sync1
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/sync1.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: sync2
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/sync2.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: sync3
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/sync3.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,14 +3,20 @@ worker_name: sync4
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_replication_http_tls: false
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
|
||||
worker_log_config: /data/log/sync4.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: sync5
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/sync5.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: worker1
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_replication_http_tls: false
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_log_config: /data/log/worker1.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: worker2
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/worker2.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: worker3
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/worker3.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
|
|
@ -3,13 +3,20 @@ worker_name: worker4
|
|||
|
||||
worker_replication_host: synapse
|
||||
worker_replication_http_port: 9093
|
||||
worker_main_http_uri: http://synapse:8008/
|
||||
worker_replication_http_tls: false
|
||||
worker_log_config: /data/log/worker4.yaml
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8081
|
||||
x_forwarded: true
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: http
|
||||
port: 9091
|
||||
resources:
|
||||
- names: [replication]
|
||||
- type: metrics
|
||||
bind_addresses: ['0.0.0.0']
|
||||
port: 9092
|
||||
Loading…
Add table
Add a link
Reference in a new issue