vps/projects/synapse/compose.yaml.mako

17 lines
645 B
Text
Raw Normal View History

2024-10-14 15:13:23 +02:00
services:
synapse:
container_name: synapse
entrypoint: ["sh", "-c", "curl -s -f --retry 7 --retry-all-errors https://kc.${env['domain']}/; exec /start.py"]
2024-10-14 15:13:23 +02:00
image: docker.io/matrixdotorg/synapse:latest
network_mode: pasta:-a,${env['pasta']['synapse']['ipv4']},-a,${env['pasta']['synapse']['ipv6']}
restart: always
environment:
UID: ${env['users']['synapse']}
GID: ${env['users']['synapse']}
TZ: ${env['timezone']}
ports:
- 127.0.0.1:${env['ports']['synapse']}:8008
volumes:
- ${env['volumes']['synapse']['datadir']}:/data
- ./homeserver.yaml.rendered:/data/homeserver.yaml:ro