Dendrite Matrix homeserver deployment for Trixcord. Contains configuration, systemd service, nginx reverse proxy, and documentation for the matrix LXC container.
Find a file
DrTrix fcc7679d46 feat: initial homeserver configuration
Migrate from trixcord hub repository:
- config/dendrite.yaml.example — Dendrite configuration template
- config/nginx/matrix-local.conf — local nginx reverse proxy
- systemd/dendrite.service — systemd unit
- docs/dendrite.md — build, deploy & update guide

Add:
- .env.example — homeserver-specific environment variables
- .gitignore — exclude secrets and production config
- README.md — autonomous quick start guide

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 23:48:16 +01:00
config feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00
docs feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00
systemd feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00
.env.example feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00
.gitignore feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00
LICENSE Initial commit 2026-02-25 23:32:54 +01:00
README.md feat: initial homeserver configuration 2026-02-25 23:48:16 +01:00

trixcord-matrix

Configuration for the Matrix homeserver container — Dendrite with a local nginx reverse proxy.

This repository is self-contained: clone it directly on the homeserver container and follow the steps below.

Part of the Trixcord infrastructure. See the hub repository for the full architecture overview.

Repository layout

.
├── .env.example                  # Environment variable template
├── config/
│   ├── dendrite.yaml.example     # Dendrite configuration template
│   └── nginx/
│       └── matrix-local.conf     # Local nginx reverse proxy (internal → Dendrite)
├── docs/
│   └── dendrite.md               # Build, deploy & update guide
└── systemd/
    └── dendrite.service          # systemd unit file

Quick start

1. Clone this repository

git clone https://git.sidera.fr/DrTrix/trixcord-matrix.git
cd trixcord-matrix

2. Configure environment

cp .env.example .env
$EDITOR .env   # fill in all variables

3. Build and deploy Dendrite

Follow docs/dendrite.md to compile Dendrite from source, install the systemd service, and deploy the configuration:

cp config/dendrite.yaml.example /opt/dendrite/config/dendrite.yaml
$EDITOR /opt/dendrite/config/dendrite.yaml   # substitute ${VAR} placeholders

4. Deploy the local nginx proxy

apt install -y nginx
cp config/nginx/matrix-local.conf /etc/nginx/sites-available/matrix-local
ln -s /etc/nginx/sites-available/matrix-local /etc/nginx/sites-enabled/matrix-local
rm /etc/nginx/sites-enabled/default
nginx -t && systemctl reload nginx

5. Start Dendrite

cp systemd/dendrite.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now dendrite
journalctl -u dendrite -f

Updating Dendrite

See the Update procedure section in docs/dendrite.md.