compose/synapse/compose.yaml
2023-04-11 23:04:48 +00:00

23 lines
607 B
YAML

version: "3"
services:
postgres:
image: postgres
restart: always
volumes:
- $HOME/compose/synapse/data/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=eL}wDzA$!6V&hdE~G
- POSTGRES_USER=synapse
- POSTGRES_INITDB_ARGS=--lc-collate=C --lc-ctype=C --encoding=UTF-8 --locale=en_US.UTF-8
synapse:
image: docker.io/matrixdotorg/synapse:latest
# 8448 is for federation and should be exposed on host (reverse proxy)
# 3478 is for TURN (voip calls)
ports:
- 127.0.0.1:8008:8008
volumes:
- $HOME/compose/synapse/data:/data