2021-01-10 16:40:52 +00:00
|
|
|
version: '2.4'
|
|
|
|
services:
|
|
|
|
synapse:
|
2021-04-02 07:53:52 +00:00
|
|
|
image: matrixdotorg/synapse:v1.28.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
|
2021-04-02 07:53:52 +00:00
|
|
|
external: true
|