From 6655fa3d4f335a6e1da65d64c9929240454115c7 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Tue, 1 Mar 2022 23:16:25 +0100 Subject: [PATCH] Add mautrix-signal --- mautrix-signal/README.md | 4 +++ mautrix-signal/docker-compose.yaml | 42 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 mautrix-signal/README.md create mode 100644 mautrix-signal/docker-compose.yaml diff --git a/mautrix-signal/README.md b/mautrix-signal/README.md new file mode 100644 index 0000000..c7063ac --- /dev/null +++ b/mautrix-signal/README.md @@ -0,0 +1,4 @@ +# mautrix-signal + +Bridge for signal and matrix + diff --git a/mautrix-signal/docker-compose.yaml b/mautrix-signal/docker-compose.yaml new file mode 100644 index 0000000..3989a43 --- /dev/null +++ b/mautrix-signal/docker-compose.yaml @@ -0,0 +1,42 @@ +version: "3.7" + +services: + mautrix-signal: + container_name: mautrix-signal + image: dock.mau.dev/mautrix/signal + restart: unless-stopped + volumes: + - bridge_data:/data + - signald_data:/signald + depends_on: + - signald + networks: + - default + - synapsenet + + signald: + container_name: signald + image: docker.io/signald/signald + restart: unless-stopped + volumes: + - signald_data:/signald + db: + image: postgres:${postgres_version:-13-alpine} + restart: unless-stopped + environment: + POSTGRES_USER: mautrixsignal + POSTGRES_DATABASE: mautrixsignal + POSTGRES_PASSWORD: mautrixsignal + volumes: + - postgres_data:/var/lib/postgresql/data + +volumes: + bridge_data: + signald_data: + postgres_data: + +networks: + synapsenet: + external: true + name: synapsenet +