(Next / Self-hosting)
Self-hosting
Run Zephyrus on a server, behind a reverse proxy, with backups and updates.
On this page6
Zephyrus is designed to run on a single machine you control. A small VPS or a home server is enough for personal use; add RAM and disk for larger local models.
Deployment shape
host/
docker-compose.yml
.env
data/
Caddyfile
Only the web process needs to be exposed. The API, vector store and model runtime stay on the private network.
Reverse proxy
Terminate TLS at a proxy and forward to port 7000. Example Caddy config:
Caddyfile
docs.example.com {
reverse_proxy 127.0.0.1:7000
}Backups
Back up the entire data/ directory on a schedule:
Terminal
tar -czf zephyrus-$(date +%F).tar.gz data/Keep at least one copy off the host. Test restoring into a fresh directory before you need it.
Updates
Terminal
git pull
docker compose up -d --buildMigrations run at startup. For major versions:
- Read the release notes.
- Back up
data/. - Pull and rebuild.
- Check
/api/healthand the logs.
Resource planning
| Workload | RAM | Disk |
|---|---|---|
| Chat only, cloud models | 2 GB | 5 GB |
| Local 7B model | 12 GB | 20 GB |
| Local 13B model | 24 GB | 40 GB |
| Documents and research | +4 GB | +10 GB |
Embeddings and uploads grow with use. Monitor disk before it fills; a full disk will stop the database.
Hardening checklist
- Put TLS and authentication in front of the workspace.
- Restrict
.envpermissions. - Keep the model runtime on a private interface.
- Disable unused MCP servers.
- Review logs for unexpected outbound requests.