infrastructure/ansible/roles/intersect-docker/files/synapse/docker-compose.yml
Jake Howard 2ef836b2e9
Remove synapse helper scripts
They're not maintained, and actually highly advised against
2020-08-18 20:39:23 +01:00

33 lines
809 B
YAML

version: "2.3"
services:
synapse:
image: matrixdotorg/synapse:v1.19.0
restart: unless-stopped
environment:
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
- SYNAPSE_REPORT_STATS=yes
- UID=0
- GID=0
volumes:
- ./homeserver.yaml:/etc/homeserver.yaml
- ./files:/data
depends_on:
- db
expose:
- 8008
labels:
- traefik.enable=true
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)
- traefik.http.routers.synapse.tls.certresolver=le
- traefik.http.routers.synapse.entrypoints=web-secure,matrix
db:
image: postgres:12-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=synapse
volumes:
- ./postgresql:/var/lib/postgresql/data