Matrix/Conduit Deployment Scaffold
Parent: #166 | Scaffold task: #183
This directory contains an executable deployment path for standing up a Matrix homeserver (Conduit) for sovereign human-to-fleet encrypted communication.
Status
| Component |
State |
| Deployment scaffold |
✅ Present |
| Target host |
⚠️ Requires selection |
| Reverse proxy (Caddy/Nginx) |
⚠️ Pending host provisioning |
| TLS certificates |
⚠️ Pending DNS + proxy setup |
| Federation |
⚠️ Pending DNS SRV records |
| Fleet bot integration |
⚠️ Post-deployment |
Quick Start
Architecture
Files
| File |
Purpose |
prerequisites.md |
Host requirements, ports, DNS, decisions |
docker-compose.yml |
Conduit + optionally Element-Web |
conduit.toml |
Homeserver configuration scaffold |
deploy-matrix.sh |
One-command deployment script |
.env.example |
Environment variable template |
caddy/Caddyfile |
Reverse proxy configuration |
Post-Deployment
- Create admin account via registration or CLI
- Create fleet rooms (encrypted by default)
- Onboard Alexander as operator
- Deploy fleet bots (Hermes gateway with Matrix platform adapter)
- Evaluate Telegram-to-Matrix bridge (mautrix-telegram)
Decisions Log
- Homeserver: Conduit (lightweight, Rust, single binary, SQLite default)
- Database: SQLite for single-host; migrate to PostgreSQL if scale demands
- Reverse proxy: Caddy (automatic HTTPS) or Nginx (existing familiarity)
- Client: Element Web (optional, self-hosted) + native apps
- Federation: Enabled (required for multi-homeserver fleet topology)