Initial commit: Matrix stack (Synapse + Synapse-Admin + Element Web) behind Traefik

Fully dockerized deployment with automatic Let's Encrypt certificates via
Traefik's static file provider (no docker.sock needed), bind-mounted data
folders instead of named volumes, and domain/secrets kept out of git via
.env + rendered templates.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
snoopy
2026-09-04 16:40:59 +02:00
commit 708312c80c
13 changed files with 456 additions and 0 deletions

19
.gitignore vendored Normal file
View File

@@ -0,0 +1,19 @@
# Real secrets / domain — never commit
.env
CREDENTIALS.txt
# Traefik ACME storage (contains private keys + certificates)
traefik/acme/acme.json
# Runtime data (bind-mounted host folders, not named volumes)
postgres/data/*
!postgres/data/.gitkeep
synapse/data/*
!synapse/data/.gitkeep
# Rendered configs (contain the real domain) — templates are tracked instead
element/config/config.json
synapse-admin/config/config.json
wellknown/html/well-known-matrix-client.json
traefik/dynamic/routes.yml