matrix-docker-compose/ansible/roles/synapse-admin/files/basedir/docker-compose.yaml
2023-12-22 15:52:46 +01:00

25 lines
573 B
YAML

version: '3'
services:
synapse-admin:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
volumes:
- /mnt/synapse_data:/data
- ./config:/config
- /mnt/logs/synapse:/logs
command:
- run
- --config-path=/config/homeserver.yaml
restart: always
container_name: synapse-main
nginx:
image: nginx:${NGINX_VERSION}
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- ./nginx:/etc/nginx/conf.d
- /ssl:/ssl
- /mnt/logs/nginx:/var/log/nginx/
restart: unless-stopped
container_name: nginx