Deploy your Chatbot Kit application to production with flexible options ranging from simple Docker deployments to fully managed solutions.
Thanks to the included docker-compose.yml
, you can deploy Chatbot Kit anywhere that supports Docker with minimal configuration changes.
For production deployment, update these key variables in your docker-compose.yml
:
Security Settings:
QDRANT__SERVICE__API_KEY=your_production_secret_key N8N_ENCRYPTION_KEY=your-production-encryption-key N8N_USER_MANAGEMENT_JWT_SECRET=your-production-jwt-secret
Generate secure secrets:
# Generate random secrets for production openssl rand -hex 32
Update your .env
file for production:
NEXT_PUBLIC_API_BASE_URL=https://your-domain.com/webhook NEXT_PUBLIC_ASSETS_BASE_URL=https://your-cdn-domain.com
The same Docker setup from development works seamlessly in production - just adjust these variables according to your infrastructure.
For a simple, quick production setup, we recommend using Elestio - a managed cloud platform that handles all the infrastructure complexity for you.
📚 Follow our Elestio Deployment Guide →
Elestio provides:
For production deployments, implementing a CDN (Content Delivery Network) is crucial for:
Option 1: Cloudflare R2 + CDN
Option 2: AWS S3 + CloudFront
You can create a script to sync your /public
folder to your CDN storage.
My personal setup is in a different folder to have a link named chatbot-kit
to my /public
folder and a script to sync it to my CDN provider. It automatically synchronizes all files including new, updated, and deleted files onto https://assets.wawasensei.dev/chatbot-kit/...
.
1. Upload static assets:
# Example script to sync assets to your CDN npm run assets-sync
This script pushes all files from your /public
folder to your configured CDN storage.
My assets-sync
script uses the aws s3 sync
command to upload files to an R2 Storage (S3 compatible), but you can adapt it for other providers.
2. Configure CDN URL:
# Point to your CDN for production asset delivery NEXT_PUBLIC_ASSETS_BASE_URL=https://your-cdn-domain.com
3. Asset resolution:
/public
NEXT_PUBLIC_ASSETS_BASE_URL
Need help with deployment or want a fully managed solution? Our team can handle the entire deployment process for you.
What we provide:
Contact us: contact@wawasensei.dev
Whether you choose self-deployment or professional services, Chatbot Kit provides the flexibility and support you need to successfully launch your 3D AI chatbot in production.