vps/roles/synapse/templates/docker-compose.yaml

14 lines
393 B
YAML

services:
synapse:
container_name: synapse
image: docker.io/matrixdotorg/synapse:latest
restart: always
environment:
UID: {{ users['synapse'] }}
GID: {{ users['synapse'] }}
TZ: {{ timezone }}
ports:
- 127.0.0.1:{{ ports['synapse'] }}:8008
volumes:
- {{ volumes['synapse_datadir'] }}:/data
- ./homeserver.yaml:/data/homeserver.yaml