Compare commits
1 commit
main
...
andreas-pa
Author | SHA1 | Date | |
---|---|---|---|
f2984b4efa |
6 changed files with 1 additions and 131 deletions
|
@ -3,8 +3,6 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
caddy:
|
caddy:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
redis:
|
|
||||||
condition: service_started
|
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
container_name: synapse
|
container_name: synapse
|
||||||
|
@ -72,95 +70,13 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- matrix-network
|
- matrix-network
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
|
|
||||||
redis:
|
|
||||||
container_name: redis
|
|
||||||
image: redis:8.0-M03-alpine
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- redis_data:/data
|
|
||||||
networks:
|
|
||||||
- matrix-network
|
|
||||||
|
|
||||||
synapse-federation-sender-1:
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
container_name: synapse-federation-sender-1
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: [ "/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/synapse-federation-sender-1.yaml" ]
|
|
||||||
healthcheck:
|
|
||||||
disable: true
|
|
||||||
volumes:
|
|
||||||
- ./synapse:/data:rw
|
|
||||||
networks:
|
|
||||||
- matrix-network
|
|
||||||
user: "1000:1000"
|
|
||||||
environment:
|
|
||||||
SYNAPSE_WORKER: synapse.app.federation_sender
|
|
||||||
depends_on:
|
|
||||||
- synapse
|
|
||||||
- redis
|
|
||||||
|
|
||||||
synapse-federation-sender-2:
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
container_name: synapse-federation-sender-2
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: [ "/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/synapse-federation-sender-2.yaml" ]
|
|
||||||
healthcheck:
|
|
||||||
disable: true
|
|
||||||
volumes:
|
|
||||||
- ./synapse:/data:rw
|
|
||||||
networks:
|
|
||||||
- matrix-network
|
|
||||||
user: "1000:1000"
|
|
||||||
environment:
|
|
||||||
SYNAPSE_WORKER: synapse.app.federation_sender
|
|
||||||
depends_on:
|
|
||||||
- synapse
|
|
||||||
- redis
|
|
||||||
|
|
||||||
synapse-federation-sender-3:
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
container_name: synapse-federation-sender-3
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: [ "/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/synapse-federation-sender-3.yaml" ]
|
|
||||||
healthcheck:
|
|
||||||
disable: true
|
|
||||||
volumes:
|
|
||||||
- ./synapse:/data:rw
|
|
||||||
networks:
|
|
||||||
- matrix-network
|
|
||||||
user: "1000:1000"
|
|
||||||
environment:
|
|
||||||
SYNAPSE_WORKER: synapse.app.federation_sender
|
|
||||||
depends_on:
|
|
||||||
- synapse
|
|
||||||
- redis
|
|
||||||
|
|
||||||
synapse-federation-sender-4:
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
container_name: synapse-federation-sender-4
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: [ "/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/synapse-federation-sender-4.yaml" ]
|
|
||||||
healthcheck:
|
|
||||||
disable: true
|
|
||||||
volumes:
|
|
||||||
- ./synapse:/data:rw
|
|
||||||
networks:
|
|
||||||
- matrix-network
|
|
||||||
user: "1000:1000"
|
|
||||||
environment:
|
|
||||||
SYNAPSE_WORKER: synapse.app.federation_sender
|
|
||||||
depends_on:
|
|
||||||
- synapse
|
|
||||||
- redis
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
matrix-network:
|
matrix-network:
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
caddy_config:
|
caddy_config:
|
||||||
synapse-data:
|
synapse-data:
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,41 +1,3 @@
|
||||||
listeners:
|
|
||||||
- port: 8008
|
|
||||||
tls: false
|
|
||||||
type: http
|
|
||||||
x_forwarded: true
|
|
||||||
resources:
|
|
||||||
- names: [client, federation]
|
|
||||||
compress: false
|
|
||||||
|
|
||||||
- port: 9093
|
|
||||||
type: http
|
|
||||||
resources:
|
|
||||||
- names: [replication]
|
|
||||||
|
|
||||||
send_federation: false
|
|
||||||
federation_sender_instances:
|
|
||||||
- synapse-federation-sender-1
|
|
||||||
- synapse-federation-sender-2
|
|
||||||
- synapse-federation-sender-3
|
|
||||||
- synapse-federation-sender-4
|
|
||||||
|
|
||||||
redis:
|
|
||||||
enabled: true
|
|
||||||
host: redis
|
|
||||||
port: 6379
|
|
||||||
|
|
||||||
instance_map:
|
|
||||||
main:
|
|
||||||
host: 'localhost'
|
|
||||||
port: 9093
|
|
||||||
|
|
||||||
worker_listeners:
|
|
||||||
- type: http
|
|
||||||
port: 8083
|
|
||||||
x_forwarded: true
|
|
||||||
resources:
|
|
||||||
- names: [client, federation]
|
|
||||||
|
|
||||||
database:
|
database:
|
||||||
name: psycopg2
|
name: psycopg2
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
worker_app: synapse.app.federation_sender
|
|
||||||
worker_name: synapse-federation-sender-1
|
|
|
@ -1,2 +0,0 @@
|
||||||
worker_app: synapse.app.federation_sender
|
|
||||||
worker_name: synapse-federation-sender-2
|
|
|
@ -1,2 +0,0 @@
|
||||||
worker_app: synapse.app.federation_sender
|
|
||||||
worker_name: synapse-federation-sender-3
|
|
|
@ -1,2 +0,0 @@
|
||||||
worker_app: synapse.app.federation_sender
|
|
||||||
worker_name: synapse-federation-sender-4
|
|
Loading…
Add table
Reference in a new issue