Start the server
Install Docker and save this asdocker-compose.yml in a directory of your choice. It matches the current deployment Compose file:
env_file: .env. Environment settings can change between releases, so check the current .env.example for available variables and default values before deploying or updating. See the configuration guide for what each setting does.
Create a .env file beside it (it can be empty for the defaults), then run these commands from the same directory:
http://localhost:3712 on the host.
The default image is ghcr.io/thesteau/evakage:latest, built from tested main commits. To pin a stable version, replace latest in the Compose file with a published vX.Y.Z tag.
Use HTTPS for other devices
Put Evakage behind a reverse proxy with a certificate trusted by your devices.- Set
TRUST_PROXY=1in.env. - Preserve the public
Hostheader or send it asX-Forwarded-Host, including any non-default port. - Keep the backend port accessible only through your proxy.
- Recreate the container after changing settings:
TRUST_PROXY and the forwarded host. See proxy configuration.
Default limits
These limits control how much the server accepts; they do not guarantee that a host can handle that load. Follow the configuration guide to adjust them for your host.
Temporary relay
The relay holds encrypted content until recipients receive or save it. When space is needed, the server may remove older items whose uploads are complete but which are still waiting for recipients. Active uploads and downloads are protected from capacity cleanup. Online participants receive warnings and removal notices. Relay data lives at/tmp/evakage-blobs inside the container. Do not mount a persistent relay volume. A restart or container replacement erases it.
The server expires content and cleans up automatically. No cron job is needed. See relay lifetimes, including the self-chat exception.
Accounts
Accounts are enabled by default. The namedaccount-data volume holds usernames, password hashes, saved settings, and hashed login sessions at /home/node/evakage-accounts/accounts.sqlite. The Go image keeps this path for compatibility with existing account volumes.
To disable accounts, set ACCOUNTS_DB= in .env. Chat, files, and joining rooms still work; creating rooms requires an account.
Check server health
Updates and backups
Compare your.env with the current .env.example. Merge any new or changed settings you need, keeping your own values.
Update from the directory containing docker-compose.yml:
-wal and -shm files, then start it again. Use SQLite’s backup API for a live backup.
Do not run docker compose down -v if you want to keep accounts.
To build your own Docker image from source, follow the local container build instructions.