Back up one file
Everything is a single SQLite database in the yap-data volume. Copy it somewhere else on a schedule — that copy is the entire history of your group, so treat it like one.
Docker · one file of data · TLS included
This is the whole job: a small Linux machine, a domain name, and one command that starts the server behind a proxy that fetches its own certificate. Then the part nobody writes about — the backups, the updates, and being the person your friends message when the chat is down.
01 · Shopping list
The smallest tier of anything works. A chat server for a dozen people is idle almost all the time.
02 · Setup
git clone https://github.com/foreski/Yap
cd Yap/deploy
YAP_DOMAIN=chat.example.com docker compose up -d
Replace chat.example.com with the hostname whose A record points at the machine. Nothing else needs editing: the compose file builds the server image, mounts a volume for the data and puts Caddy in front of it.
Caddy asks Let's Encrypt for a certificate for that hostname, renews it on its own, and keeps no request logs. The server itself never sees a raw password: clients send a login key derived on the device, and the deployment writes nothing about the address you sign up from — only a short, untraceable fingerprint that counts sign-ups.
Then sign in and make a space. Point the desktop app at https://chat.example.com, create the first account, open a space, and share its invite link. The first account owns the space, so make it the one you will keep.
03 · Upkeep
Self-hosting is a subscription paid in attention instead of money. These four things are the whole subscription.
Everything is a single SQLite database in the yap-data volume. Copy it somewhere else on a schedule — that copy is the entire history of your group, so treat it like one.
git pull, then docker compose up -d --build. Migrations are append-only, so an upgrade runs the new ones and leaves your data where it was. There is no auto-updater and nothing phones home.
Sign-ups are capped at two accounts per address by default (--max-accounts-per-ip). If the server is only for your group, leave the cap low and hand out invite links instead.
Whoever runs the server reads every normal space. Private spaces hide the words, and hide nothing else: names, members, timing and who talks to whom are visible to you. The safety page says the same thing without the asterisks.
Every flag — --bind, --db, --trust-proxy, --voice-direct — is listed in the self-hosting reference, next to the exact checks behind the verified label on the server list.
04 · Limits