Commit 968fc048 authored by kaiyou's avatar kaiyou

Add a Matrix bridge service

parent 14269d7f
version: '2.1'
services:
synapse:
image: docker.tedomum.net/tedomum/synapse:tedomum-prod
labels:
- traefik.enable=true
- traefik.port=8008
- traefik.frontend.rule=Host:${hostname}
- traefik.frontend.headers.STSSeconds=315360000
- traefik.frontend.headers.frameDeny=true
- traefik.frontend.headers.browserXSSFilter=true
- traefik.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
volumes:
- ./data:/data
depends_on:
- db
db:
image: postgres:11
volumes:
- ./db:/var/lib/postgresql/data
- ./wal:/wal
- ./postgresql.conf:/var/lib/postgresql/data/postgresql.conf
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
telegram:
image: dock.mau.dev/tulir/mautrix-telegram:latest
volumes:
- ./data/telegram:/data
whatsapp:
image: dock.mau.dev/tulir/mautrix-whatsapp:latest
volumes:
- ./data/whatsapp:/data
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/80"
gateway: "${prefix}1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment