Prerequisites
- Docker 24.0+ and Docker Compose 2.0+ installed
- At least 4GB RAM available
- Ports 3000 and 9000 available
One-Command Installation
Clone and Start
Run this single command to clone Cap and start all services:This will:
- Clone the Cap repository
- Pull pre-built Docker images from GitHub Container Registry
- Start Cap Web, Media Server, MySQL, and MinIO
- Create necessary volumes for data persistence
Access Cap
Once the containers are running, Cap will be available at:Open this URL in your browser to access Cap.
The default configuration uses placeholder passwords suitable for local development only. For production deployments, see Production Configuration below.
Verify Installation
Check that all services are running:Troubleshooting: Services not healthy
Troubleshooting: Services not healthy
If services show as unhealthy:
- Check logs:
docker compose logs [service-name] - Wait 60 seconds for health checks to pass
- Restart if needed:
docker compose restart - See Troubleshooting for more help
Test Video Upload
Connect Cap Desktop
- Download Cap Desktop
- Open Settings
- Set Cap Server URL to
http://localhost:3000
Record and Upload
- Record a short test video
- Click Share
- Video will upload to your local Cap instance
Production Configuration
The default setup is fine for testing, but production deployments require additional configuration.Generate Secrets
Run this command three times to generate secure secrets:NEXTAUTH_SECRETDATABASE_ENCRYPTION_KEYMEDIA_SERVER_WEBHOOK_SECRET
Create .env File
Create a.env file in the Cap directory:
.env
Restart with New Configuration
Next Steps
Email Setup
Configure Resend to send login emails
SSL/HTTPS
Set up a reverse proxy with SSL certificates
S3 Storage
Use AWS S3 or other S3 providers
Environment Variables
Complete configuration reference