Repository navigation
How It Works
HeimDOS edited this page Nov 4, 2026
·
1 revision
A Concord Voice server is a small set of services that run together in Docker. Here is what each one does.
- Control plane (Go) - Accounts, servers, channels, roles, and permissions. It runs the real-time hub that delivers messages and presence.
- Media plane (Node.js and mediasoup) - Routes voice, video, and screen shares between people in a call.
- TURN relay (coturn) - Helps calls connect when a user sits behind a strict firewall or NAT.
- PostgreSQL - The database.
- Redis - Sessions, presence, and caches.
- NATS - Messages between the control plane and the media plane.
- Object storage - Uploaded files and images. Bundled, or your own S3 bucket. See Storage.
- nginx - Runs on the host in front of everything and terminates TLS.
- Admin portal - A web interface for the person who runs the server.
Encryption happens on each user's device, not on your server.
- Cannot read: message content, encrypted attachments, and voice and video. The media plane forwards encrypted frames without the keys to open them.
- Can read: account details such as usernames and email addresses, server and channel structure, and profile images such as avatars and banners.
That means a stolen database leaks who talked where, but not what they said. Protect the host anyway.
The full design is in docs/architecture.md. It is long. Bring coffee.