Production Deployment Guide
Deploy OpenQA to production in minutes with our automated installer or manual setup.
Quick Deploy (5 minutes)
Use our interactive installer to deploy OpenQA:
bash
1# Interactive installer - Choose Docker, VPS, or Cloud2curl -fsSL https://openqa.orkajs.com/install-production.sh | bashDeployment Options
| Method | Time | Difficulty | Best For |
|---|---|---|---|
| 🐳 Docker | 5 min | Easy | VPS, Local servers |
| 🖥️ VPS/Systemd | 15 min | Medium | Full control |
| ☁️ Railway | 3 min | Easiest | Quick deploy |
| 🎨 Render | 2 min | Easiest | Free tier |
| 🪰 Fly.io | 5 min | Easy | Global edge |
Requirements
- Node.js 20+ (for VPS deployment)
- Docker (for containerized deployment)
- LLM API Key (OpenAI, Anthropic, or Ollama)
- Target Application URL (the app you want to test)
Required Environment Variables
bash
1# Required2OPENAI_API_KEY=sk-xxx # Or ANTHROPIC_API_KEY3OPENQA_JWT_SECRET=xxx # Generate: openssl rand -hex 324SAAS_URL=https://your-app.com # Target application5 6# Recommended7NODE_ENV=production8WEB_PORT=4242First-Time Setup
- Access the dashboard at
http://your-server:4242 - You'll be redirected to
/setup - Create your admin account with a strong password
- Log in and configure your environment at
/config/env
Security Checklist
Before going live:
- ✅ Set strong
OPENQA_JWT_SECRET(64+ chars) - ✅ Use strong admin password (min 12 chars)
- ✅ Enable HTTPS (SSL certificate)
- ✅ Never set
OPENQA_AUTH_DISABLED=true - ✅ Set
NODE_ENV=production - ✅ Restrict CORS origins
- ✅ Enable firewall (ports 80, 443 only)
- ✅ Setup automated backups
