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

15 lines
414 B
YAML
Raw Normal View History

version: '3'
services:
synapse:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
- SERVERNAME=${HOME_SERVER_FQDN}
- PUBLICBASEURL=${SYNAPSE_FQDN}
ports:
- "8008:8008/tcp"
volumes:
- /mnt/synapse_data:/data
entrypoint: sh -c "/data/homeserver.yaml.sh && chmod -R 777 /data && /start.py"
restart: always