diff --git a/_posts/2026-04-30-self-hosting-a-matrix-instance-with-podman.md b/_posts/2026-04-30-self-hosting-a-matrix-instance-with-podman.md index 6c5f11d..806d92f 100644 --- a/_posts/2026-04-30-self-hosting-a-matrix-instance-with-podman.md +++ b/_posts/2026-04-30-self-hosting-a-matrix-instance-with-podman.md @@ -349,6 +349,26 @@ podman run -d --pod=synapse \ --label io.containers.autoupdate=registry docker.io/matrixdotorg/synapse:latest ``` +And for the bridge: + +Adapt the file `/home/data/podman/synapse/mautrix-discord/config.yaml`: + +for the database part: +```yaml + database: + type: postgres + uri: postgres://discordmautrix:password:5432/discordmautrix?sslmode=disable +``` + +Then run the bridge: + +```bash +podman run -d --pod=synapse \ +-v /home/data/podman/synapse/mautrix-discord:/data:z \ +--name=synapse-discord-mautrix \ +--label io.containers.autoupdate=registry dock.mau.dev/mautrix/discord:latest +``` + #### using the bridge You'll then have access to a user "discord bridge bot" on your instance where you can log in into your discord account and then bridge your messages.