matrix-docker-compose/ansible/roles/docker-compose/files/synapse/docker-compose.yaml
2023-09-26 13:54:38 +02:00

14 lines
414 B
YAML

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