Implemented bridge draft

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-13 08:58:53 +01:00
parent ea03df42df
commit 934e1300db

View File

@ -2,13 +2,13 @@ version: '3.1'
services: services:
application: synapse:
image: matrixdotorg/synapse:latest image: matrixdotorg/synapse:latest
restart: unless-stopped restart: unless-stopped
logging: logging:
driver: journald driver: journald
volumes: volumes:
- data:/data - synapse_data:/data
- ./homeserver.yaml:/data/homeserver.yaml:ro - ./homeserver.yaml:/data/homeserver.yaml:ro
- ./{{domain}}.log.config:/data/{{domain}}.log.config:ro - ./{{domain}}.log.config:/data/{{domain}}.log.config:ro
environment: environment:
@ -37,9 +37,42 @@ services:
timeout: 5s timeout: 5s
retries: 6 retries: 6
# bridges
#mautrix-telegram:
# container_name: mautrix-telegram
# image: dock.mau.dev/mautrix/telegram:<version>
# restart: unless-stopped
# volumes:
# - telegram_bridge_data:/data
#mautrix-whatsapp:
# container_name: mautrix-whatsapp
# image: dock.mau.dev/mautrix/whatsapp:<version>
# restart: unless-stopped
# volumes:
# - whatsapp_bridge_data:/data
#mautrix-facebook:
# container_name: mautrix-facebook
# image: dock.mau.dev/mautrix/facebook:<version>
# restart: unless-stopped
# volumes:
# - facebook_bridge_data:/data
#mautrix-instagram:
# container_name: mautrix-instagram
# image: dock.mau.dev/mautrix/instagram:<version>
# restart: unless-stopped
# volumes:
# - instagram_bridge_data:/data
volumes: volumes:
database: database:
data: synapse_data:
#telegram_bridge_data:
#whatsapp_bridge_data:
#facebook_bridge_data:
#instagram_bridge_data:
networks: networks:
default: default:
driver: bridge driver: bridge