worker confs

This commit is contained in:
c0mmando 2023-07-16 00:14:00 +00:00
parent 9c89a63844
commit c53e2251b4
17 changed files with 263 additions and 0 deletions

22
workers/additional1.yaml Executable file
View File

@ -0,0 +1,22 @@
worker_app: synapse.app.generic_worker
worker_name: additional1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/additional1.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client]
compress: false
- type: http
port: 8034
resources:
- names: [replication]

22
workers/additional2.yaml Executable file
View File

@ -0,0 +1,22 @@
worker_app: synapse.app.generic_worker
worker_name: additional2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/additional2.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client]
compress: false
- type: http
port: 8034
resources:
- names: [replication]

21
workers/event1.yaml Executable file
View File

@ -0,0 +1,21 @@
worker_app: synapse.app.generic_worker
worker_name: event1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: true
worker_log_config: /data/log/event1.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client]
compress: false
- type: http
port: 8034
resources:
- names: [replication]

21
workers/event2.yaml Executable file
View File

@ -0,0 +1,21 @@
worker_app: synapse.app.generic_worker
worker_name: event2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: true
worker_log_config: /data/log/event2.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client]
compress: false
- type: http
port: 8034
resources:
- names: [replication]

7
workers/federation1.yaml Executable file
View File

@ -0,0 +1,7 @@
worker_app: synapse.app.generic_worker
worker_name: federation1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation1.yaml

7
workers/federation2.yaml Executable file
View File

@ -0,0 +1,7 @@
worker_app: synapse.app.generic_worker
worker_name: federation2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation2.yaml

7
workers/federation3.yaml Executable file
View File

@ -0,0 +1,7 @@
worker_app: synapse.app.generic_worker
worker_name: federation3
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation3.yaml

7
workers/federation4.yaml Executable file
View File

@ -0,0 +1,7 @@
worker_app: synapse.app.generic_worker
worker_name: federation4
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation4.yaml

16
workers/sync1.yaml Executable file
View File

@ -0,0 +1,16 @@
worker_app: synapse.app.generic_worker
worker_name: sync1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/sync1.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client, federation]
compress: false

15
workers/sync2.yaml Executable file
View File

@ -0,0 +1,15 @@
worker_app: synapse.app.generic_worker
worker_name: sync2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/sync2.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client, federation]

15
workers/sync3.yaml Executable file
View File

@ -0,0 +1,15 @@
worker_app: synapse.app.generic_worker
worker_name: sync3
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/sync3.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client, federation]

16
workers/sync4.yaml Executable file
View File

@ -0,0 +1,16 @@
worker_app: synapse.app.generic_worker
worker_name: sync4
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: true
worker_main_http_uri: http://synapse:8008/
worker_log_config: /data/log/sync4.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client, federation]

15
workers/sync5.yaml Executable file
View File

@ -0,0 +1,15 @@
worker_app: synapse.app.generic_worker
worker_name: sync5
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: true
worker_log_config: /data/log/sync5.yaml
worker_listeners:
- type: http
port: 8081
x_forwarded: true
resources:
- names: [client, federation]

18
workers/worker1.yaml Executable file
View File

@ -0,0 +1,18 @@
worker_app: synapse.app.generic_worker
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: 8080
x_forwarded: true
resources:
- names: [client, federation]
- type: metrics
port: 9000

18
workers/worker2.yaml Executable file
View File

@ -0,0 +1,18 @@
worker_app: synapse.app.generic_worker
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
resources:
- names: [client, federation]
- type: metrics
port: 9000

18
workers/worker3.yaml Executable file
View File

@ -0,0 +1,18 @@
worker_app: synapse.app.generic_worker
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: 8082
x_forwarded: true
resources:
- names: [client, federation]
- type: metrics
port: 9000

18
workers/worker4.yaml Executable file
View File

@ -0,0 +1,18 @@
worker_app: synapse.app.generic_worker
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: 8083
x_forwarded: true
resources:
- names: [client, federation]
- type: metrics
port: 9000