2023-09-26 11:54:38 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
2023-11-15 22:30:05 +00:00
|
|
|
synapse-main:
|
2023-09-26 11:54:38 +00:00
|
|
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
|
|
|
volumes:
|
|
|
|
- /mnt/synapse_data:/data
|
2023-09-27 10:19:46 +00:00
|
|
|
- ./config:/config
|
|
|
|
command:
|
|
|
|
- run
|
|
|
|
- --config-path=/config/homeserver.yaml
|
2023-09-26 11:54:38 +00:00
|
|
|
restart: always
|
2023-11-15 22:30:05 +00:00
|
|
|
|
|
|
|
synapse-worker-generic:
|
|
|
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
|
|
|
command:
|
|
|
|
- run
|
|
|
|
- "--config-path=/config/homeserver.yaml"
|
|
|
|
- "--config-path=/config/synapse-worker-generic.yaml"
|
|
|
|
volumes:
|
|
|
|
- /mnt/synapse_data:/data
|
|
|
|
- ./config:/config
|
|
|
|
environment:
|
|
|
|
SYNAPSE_WORKER: synapse.app.generic_worker
|
|
|
|
depends_on:
|
|
|
|
- synapse-main
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
synapse-worker-sync:
|
|
|
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
|
|
|
command:
|
|
|
|
- run
|
|
|
|
- "--config-path=/config/homeserver.yaml"
|
|
|
|
- "--config-path=/config/synapse-worker-sync.yaml"
|
|
|
|
volumes:
|
|
|
|
- /mnt/synapse_data:/data
|
|
|
|
- ./config:/config
|
|
|
|
environment:
|
|
|
|
SYNAPSE_WORKER: synapse.app.generic_worker
|
|
|
|
depends_on:
|
|
|
|
- synapse-main
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
synapse-worker-federation:
|
|
|
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
|
|
|
command:
|
|
|
|
- run
|
|
|
|
- "--config-path=/config/homeserver.yaml"
|
|
|
|
- "--config-path=/config/synapse-worker-federation.yaml"
|
|
|
|
volumes:
|
|
|
|
- /mnt/synapse_data:/data
|
|
|
|
- ./config:/config
|
|
|
|
environment:
|
|
|
|
SYNAPSE_WORKER: synapse.app.generic_worker
|
|
|
|
depends_on:
|
|
|
|
- synapse-main
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
|
2023-09-27 11:49:56 +00:00
|
|
|
nginx:
|
|
|
|
image: nginx:${NGINX_VERSION}
|
|
|
|
ports:
|
|
|
|
- "80:80/tcp"
|
|
|
|
- "443:443/tcp"
|
|
|
|
volumes:
|
|
|
|
- ./nginx:/etc/nginx/conf.d
|
|
|
|
- /ssl:/ssl
|
2023-12-04 09:16:33 +00:00
|
|
|
- /mnt/logs/nginx:/var/log/nginx/
|
2023-11-15 22:30:05 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: "redis:latest"
|
|
|
|
ports:
|
|
|
|
- "6379:6379/tcp"
|
|
|
|
restart: "unless-stopped"
|