Self-hosting

Run it on hardware you own

A handful of containers, a database you can reach, and no licence server to phone home. The same software this site runs on.

browser · appreverse proxyPostgresValkeySearchGarageMailone memory cap per container · systemd owns the cgroup

Five service containers behind one proxy. Every cap is explicit, and systemd owns the cgroup so a dropped session cannot stop the stack.

Requirements

What you need before you start

A Linux host

x86_64, aarch64, armv7 or riscv64. Rootless podman, with the user's service manager left to run the units.

Modest resources

Around 1.5 GB of memory for the full stack, with a cap on each container so one service cannot starve the host.

A domain

And, for mail, a provider that permits it: TCP 25 must be open in both directions, and the IP needs reverse DNS.

Many VPS providers block port 25 outbound to deter spam. Check before you buy: a mail server that cannot open a connection to another mail server cannot deliver, however correct its DNS is.

Components

Everything it runs

Each service is a container with an explicit memory limit and a restart policy, supervised by systemd. There is no orchestration layer to learn.

PostgreSQL
Accounts, conversations, permissions and mail metadata.
Valkey
Sessions, rate-limit counters and short-lived state.
Garage
S3-compatible object store for files and message bodies.
Stalwart
Mail server: JMAP, IMAP, SMTP, CalDAV, CardDAV and WebDAV.
TURN
Relay for calls when two peers cannot reach each other.
ChitChat
The application server and the web client.

Install

Three steps to a running instance

Install the units

./scripts/install-quadlet.sh installs the systemd units and generates the secrets once. Nothing here needs root: the stack is rootless podman, owned by your user.

Bring it up

./scripts/deploy.sh builds what is needed and starts the stack, then ./scripts/seed.sh creates demo accounts so there is something to sign in to.

Point a domain at it

TLS comes from your reverse proxy. Publish the mail records the mail server generates — SPF, DKIM, DMARC and MX — and verify them rather than assuming they took.

Operating

Backups, upgrades and the unglamorous parts

Backups cover the database, the object store and the mail store, and they are tested by restoring rather than by checking that a file exists. An upgrade rebuilds an image and restarts a unit; the previous image stays on disk so a rollback is a restart, not a rebuild.

Mail bodies live in object storage while the mail server keeps its metadata in its own database. That means a backup needs both, which is a detail worth knowing before the first restore rather than during it.

Prefer not to run it yourself?

This site is the same software on someone else's hardware. Create an organization here and try it before you decide.