Skip to main content

Start the server

Install Docker and save this as docker-compose.yml in a directory of your choice. It matches the current deployment Compose file:
The Compose setup is ready to use and loads your settings through 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:
Open 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.
  1. Set TRUST_PROXY=1 in .env.
  2. Preserve the public Host header or send it as X-Forwarded-Host, including any non-default port.
  3. Keep the backend port accessible only through your proxy.
  4. Recreate the container after changing settings:
HTTPS or localhost is required for encryption features, camera access, and installation. “Same-origin JSON request required” when signing up? Check 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 named account-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:
Updates clear relay content. Accounts, saved settings, and valid login sessions survive in the named volume. Sessions keep their original 30-day expiry; updates do not extend it. The first update from a version with in-memory login sessions requires users to sign in again. The database migrates automatically, and subsequent updates preserve valid sessions. Users can revoke all their sessions with Account → Sign out of all devices. For a simple account backup, stop the app, copy the SQLite database with its -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.