Matrix
junkerderprovinz/matrix:latest
https://hub.docker.com/r/junkerderprovinz/matrix
bridge
sh
false
https://github.com/junkerderprovinz/matrix/blob/main/README.md
https://forums.unraid.net/topic/198818-support-junkerderprovinz-matrix-aio/
https://matrix.org
All-in-one Matrix homeserver for Unraid: Synapse + coturn + Element Web (/element/) + Ketesa admin UI (/admin/).
Plug-and-play — just fill in SERVER_NAME and Postgres connection, everything else is generated automatically.
OPTIONAL, OFF BY DEFAULT: delegated authentication via Matrix Authentication Service, which is what
makes QR code device linking ("Link new device" in Element) possible. Leave the Delegated Auth field
alone and the container behaves exactly as before. Enabling it needs a second empty Postgres database
and a second reverse-proxy host with HTTPS, and it changes how your users sign in — read the README
section "Delegated Auth and QR Code Login" first.
PREREQUISITES (before starting the container):
1) PostgreSQL database — connect to your Postgres container and run:
CREATE USER matrix WITH PASSWORD 'yourpass';
CREATE DATABASE matrix ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE template0 OWNER matrix;
(UTF8 + LC_COLLATE='C' is mandatory — Synapse will refuse to start otherwise.)
2) Reverse proxy (Nginx Proxy Manager) for matrix.yourdomain.tld → Unraid-IP:8008.
In the proxy host → Advanced tab, add:
client_max_body_size 100m;
proxy_read_timeout 600s;
(Without these, media uploads fail and long-running requests time out.)
3) Federation discovery works out of the box: Synapse serves
/.well-known/matrix/server and /.well-known/matrix/client itself on the
API port (8008), so the proxy host from step 2 already covers them.
No extra Custom Locations needed (remove any manual ones from older setups).
Full step-by-step guide (NPM screenshots, well-known, first user):
https://github.com/junkerderprovinz/matrix#readme
Network:Messenger Network:Other Productivity:
http://[IP]:[PORT:8080]/element/
https://raw.githubusercontent.com/junkerderprovinz/unraid-apps/main/matrix/matrix.xml
https://raw.githubusercontent.com/junkerderprovinz/unraid-apps/main/matrix/icon.png?v=1
An external PostgreSQL database (UTF8, LC_COLLATE=C) and a reverse proxy (e.g. Nginx Proxy Manager) with large-upload and long-timeout settings. See the documentation for the exact setup: https://github.com/junkerderprovinz/matrix#readme
8008
8080
3478
3478
5349
5349
49160-49200
9090
8090
/mnt/user/appdata/matrix/
matrix.yourdomain.tld
no
true
false
false
false
false
true
3478
192.168.1.10
5432
matrix
matrix
Europe/Vienna
99
100