legacy-server-config/synapse/docker-compose.yml

31 lines
710 B
YAML
Raw Normal View History

2021-01-10 16:40:52 +00:00
version: '2.4'
services:
synapse:
2021-07-30 14:06:39 +00:00
image: matrixdotorg/synapse:v1.39.0
restart: unless-stopped
2021-01-10 16:40:52 +00:00
healthcheck:
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
interval: 1m
timeout: 10s
retries: 3
ports:
2021-01-31 19:52:24 +00:00
- 8008:8008
2021-01-10 16:40:52 +00:00
environment:
SYNAPSE_SERVER_NAME: matrix.teier.eu
volumes:
2021-01-31 19:52:24 +00:00
- /var/synapse:/data
- /var/mautrix-telegram:/mautrix-telegram
- /var/mautrix-signal:/mautrix-signal
- /var/mautrix-whatsapp:/mautrix-whatsapp
networks:
- matrix_net
- postgres_net
2021-01-12 21:11:45 +00:00
networks:
2021-01-31 19:52:24 +00:00
matrix_net:
name: matrix_net
driver: bridge
postgres_net:
name: postgres_net
external: true