Deployment
Deploy to Vercel
Quick deployment guide for hosting GoLiveKit on Vercel.
This guide provides brief step-by-step instructions for deploying GoLiveKit to Vercel.
Prerequisites
Before deploying, make sure you have:
- A GitHub repository with your GoLiveKit project
- A Vercel account
- All required environment variables ready (from your local
.env) - A database accessible from Vercel (for example Neon, Supabase, Railway, or managed Postgres)
Deployment Steps
1. Import Project to Vercel
- Open Vercel Dashboard.
- Click Add New → Project.
- Import your GitHub repository.
- Select the branch you want to deploy (usually
masterormain).
2. Configure Environment Variables
In Project Settings → Environment Variables, add all required variables from your app (same values as your production .env).
At minimum, confirm your auth, database, storage, and payment-related variables are set correctly.
3. Build & Output Settings
For a standard Next.js setup, Vercel auto-detects settings:
- Framework Preset: Next.js
- Build Command: default
- Output Directory: default
If needed, set a custom install command compatible with your package manager.
4. Deploy
- Click Deploy.
- Wait for the initial build to complete.
- Open the generated Vercel URL to verify the app is running.
5. Add Custom Domain (Optional)
- Go to Project Settings → Domains.
- Add your domain (for example
yourdomain.com). - Configure DNS records in your DNS provider as instructed by Vercel.
Post-Deployment
Access Your Application
- Vercel URL:
https://your-project.vercel.app - Custom domain (if configured):
https://yourdomain.com