From 934e1300dba896d655904b6f4881a026f42c20b5 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 13 Dec 2023 08:58:53 +0100 Subject: [PATCH] Implemented bridge draft --- .../templates/docker-compose.yml.j2 | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/roles/docker-matrix/templates/docker-compose.yml.j2 b/roles/docker-matrix/templates/docker-compose.yml.j2 index 566d4e11..f7fb8fab 100644 --- a/roles/docker-matrix/templates/docker-compose.yml.j2 +++ b/roles/docker-matrix/templates/docker-compose.yml.j2 @@ -2,13 +2,13 @@ version: '3.1' services: - application: + synapse: image: matrixdotorg/synapse:latest restart: unless-stopped logging: driver: journald volumes: - - data:/data + - synapse_data:/data - ./homeserver.yaml:/data/homeserver.yaml:ro - ./{{domain}}.log.config:/data/{{domain}}.log.config:ro environment: @@ -37,9 +37,42 @@ services: timeout: 5s retries: 6 + # bridges + #mautrix-telegram: + # container_name: mautrix-telegram + # image: dock.mau.dev/mautrix/telegram: + # restart: unless-stopped + # volumes: + # - telegram_bridge_data:/data + + #mautrix-whatsapp: + # container_name: mautrix-whatsapp + # image: dock.mau.dev/mautrix/whatsapp: + # restart: unless-stopped + # volumes: + # - whatsapp_bridge_data:/data + + #mautrix-facebook: + # container_name: mautrix-facebook + # image: dock.mau.dev/mautrix/facebook: + # restart: unless-stopped + # volumes: + # - facebook_bridge_data:/data + + #mautrix-instagram: + # container_name: mautrix-instagram + # image: dock.mau.dev/mautrix/instagram: + # restart: unless-stopped + # volumes: + # - instagram_bridge_data:/data + volumes: database: - data: + synapse_data: + #telegram_bridge_data: + #whatsapp_bridge_data: + #facebook_bridge_data: + #instagram_bridge_data: networks: default: driver: bridge \ No newline at end of file