matrix-docker-compose/ansible/roles/docker-compose/files/synapse/docker-compose.yaml

25 lines
528 B
YAML
Raw Normal View History

version: '3'
services:
synapse:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
ports:
- "8008:8008/tcp"
volumes:
- /mnt/synapse_data:/data
2023-09-27 10:19:46 +00:00
- ./config:/config
2023-09-29 11:05:47 +00:00
ports:
- "8008:8008/tcp"
2023-09-27 10:19:46 +00:00
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