2024-10-14 15:13:23 +02:00
|
|
|
services:
|
|
|
|
synapse:
|
|
|
|
container_name: synapse
|
2024-10-16 20:26:53 +02:00
|
|
|
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
|