Deployment Overview
TurboStack supports multiple deployment strategies for different use cases.Deployment Options
Vercel + Railway
Recommended for most projects
- Frontend on Vercel (free tier available)
- Backend on Railway ($5/mo)
- Database on Railway or Supabase
Docker Compose
Self-hosted solution
- Full control over infrastructure
- Works on any VPS (DigitalOcean, Hetzner)
- All services in one server
Render
Alternative PaaS
- Simple deployment from Git
- Managed PostgreSQL included
- Good free tier
Fly.io
Edge deployment
- Deploy close to users globally
- Built-in PostgreSQL
- Pay per use
Comparison
| Feature | Vercel + Railway | Docker | Render |
|---|---|---|---|
| Setup Complexity | ⭐ Easy | ⭐⭐⭐ Advanced | ⭐⭐ Medium |
| Cost (Starting) | Free - $5/mo | VPS cost (~$5/mo) | Free - $7/mo |
| Scaling | Automatic | Manual | Automatic |
| Custom Domain | ✅ Yes | ✅ Yes | ✅ Yes |
| SSL | ✅ Auto | Manual/Caddy | ✅ Auto |
| Database | Railway/Supabase | Self-managed | Managed |
Pre-Deployment Checklist
Environment Variables
Ensure all required environment variables are set:
Required Variables
Required Variables
Optional Services
Optional Services