matrix-docker-compose/ansible/roles/docker-compose/files/synapse/docker-compose.yaml
2023-09-29 13:05:47 +02:00

24 lines
528 B
YAML

version: '3'
services:
synapse:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
ports:
- "8008:8008/tcp"
volumes:
- /mnt/synapse_data:/data
- ./config:/config
ports:
- "8008:8008/tcp"
command:
- run
- --config-path=/config/homeserver.yaml
# - --config-path=/config/generic_worker.yaml
restart: always
nginx:
image: nginx:${NGINX_VERSION}
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- ./nginx:/etc/nginx/conf.d
- /ssl:/ssl