Local Development
Run on your machine with PostgreSQL and optional Redis. Best for development and evaluation.
Cloud (App Runner)
Deploy to AWS App Runner with Supabase (PostgreSQL) and Upstash (Redis). Fully managed, no servers to maintain.
Kubernetes (Helm)
Self-hosted on any Kubernetes cluster using the provided Helm chart. Full control over infrastructure.
Comparison
| Local | Cloud (App Runner) | Kubernetes (Helm) | |
|---|---|---|---|
| Best for | Development, evaluation | Small-to-medium production | Enterprise production |
| Database | Local PostgreSQL | Supabase | Self-managed / RDS |
| Cache | Local Redis (optional) | Upstash | Self-managed Redis |
| Scaling | Single instance | Auto-scaling (App Runner) | HPA + custom policies |
| Monitoring | Dev tools | CloudWatch | Prometheus + Grafana |
| TLS | Not required | Auto (App Runner) | Ingress controller |
| Setup time | 5 minutes | 30 minutes | 1–2 hours |
Docker Images
KaireonAI builds two Docker images:| Image | Purpose |
|---|---|
kaireon-api | Main Next.js application (UI + API routes) |
kaireon-worker | Background job processing (pipelines, model retraining) |
latest:
Environment Variables
All deployment methods use the same environment variables:| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
REDIS_URL | No | Redis connection string (enrichment cache, rate limiting) |
NEXTAUTH_SECRET | Yes | Random secret for session encryption |
NEXTAUTH_URL | Yes (prod) | Public URL of the application |
GOOGLE_CLIENT_ID | No | Google OAuth client ID (for SSO) |
GOOGLE_CLIENT_SECRET | No | Google OAuth client secret |
API_KEY_PEPPER | No | HMAC pepper for API key hashing |