Deployment Options
Corvus can be deployed in multiple ways depending on your infrastructure:- Native Binary — Single ~3.4MB executable
- Docker Container — Distroless container image
- systemd Service — Background daemon with auto-restart
- Kubernetes — Pod deployment with ConfigMap
Native Binary Deployment
Installation
Via npm/pnpm/yarn:Initial Setup
Running the Daemon
Environment Variables
Docker Deployment
Docker Compose
docker-compose.yml:
Standalone Docker
Docker with Gateway Only
Security Hardening
Read-only filesystem:- Corvus images run as UID 65534 (nobody)
- No shell or package manager in distroless image
systemd Service Management
Corvus includes built-in systemd service management for running as a background daemon.Service Commands
Install service:Service Configuration
The service uses your~/.corvus/config.toml by default.
Service file location:
~/.config/systemd/user/corvus.service(user service)/etc/systemd/system/corvus.service(system service)
Linger Mode
Linger keeps the service running after logout and across reboots:Updating the Binary
When updating Corvus:Production Considerations
Configuration Management
Store config in version control:Workspace Management
Recommended structure:Monitoring and Health Checks
System diagnostics:Resource Monitoring
Check memory usage:- Memory: < 5MB base + working set
- CPU: Idle < 1%, active < 50%
- Disk: ~3.4MB binary + workspace
Logging Configuration
Set log level:Backup and Recovery
Backup items:Network Security
Use a tunnel for external access:High Availability
Multiple instances:Performance Tuning
Memory Backend
SQLite (default):Rate Limiting
Runtime Selection
Troubleshooting
See the Troubleshooting Guide for common issues and solutions. Quick diagnostics:Next Steps
Security
Security best practices for production
Observability
Monitoring and metrics
Troubleshooting
Common issues and solutions