Skip to content

Single server

Deploy on one server

Voaaro's current deployment: a Docker Compose stack on a single server, what it contains and how to operate it.

Voaaro is deployed on one server, with Docker Compose: everything fits on the machine you rent, with no paid external service. This server can later become the primary of a deployment on several servers.

What runs

ServiceRoleData
mail engineSMTP, IMAP, JMAP, DKIM, spam filtering, sending queueengine-data volume (messages), engine's PostgreSQL database
web (Voaaro service)console, webmail, API, webhooks, MCP, background jobsvoaaro PostgreSQL database
PostgreSQL 16two separate databases: voaaro and the engine'spg-data volume
Valkeycache and rate limits (details)none (memory only)
antivirusscans every received message; an infected message is rejectedclamav-db volume (signatures)
HTTPS proxyCaddy, or your nginx (details)certificate

Everything is in /srv/voaaro: the deploy/compose/.env file (secrets, permissions 600), the backup key deploy/compose/backup.key, backups in backups/, operation logs in .build-logs/.

The maintenance agent

A systemd timer (voaaro-maintenance.timer) runs scripts/maintenance.sh tick as root every minute. It performs, on the host, what the console cannot do from its container:

  • scheduled backups, rotation and off-server copy (Backups);
  • weekly restore test in a disposable stack;
  • copying the certificate renewed (by Caddy) to the mail engine;
  • outgoing addresses for the outbound IPs declared in the console;
  • updates requested from the console (Updates).

Without systemd, a root cron line does the same job:

Shell
* * * * * /srv/voaaro/scripts/maintenance.sh tick

Day-to-day operations

NeedWhere
status of each service, incidents, alertsAdministration › Health (Monitoring)
backups, off-server copy, tested restoreAdministration › Health › Backups
updateAdministration › Updates, or sudo voaaro update
logssudo voaaro logs <service> (web, engine, postgres…)
mail storage (disk or S3-compatible)Administration › Storage (Storage)

Required outbound access

The server must be able to reach: other mail servers (port 25), voaaro.com (license and updates), cloudflare-dns.com (DNS-over-HTTPS checks), browsers' push notification services, and GitHub on the engine's first start (spam filter rules).

Esc