worried-petabyte-38885
08/28/2025, 5:25 PMtall-airline-16756
08/28/2025, 5:25 PMtall-airline-16756
08/28/2025, 5:25 PMDockerfile and CI setup. Just build and run your container like this:
docker build -t voice-agent .
docker run -e LIVEKIT_URL=your_livekit_url \
-e LIVEKIT_API_KEY=your_api_key \
-e LIVEKIT_API_SECRET=your_secret \
voice-agent
And when things get busy, you can scale your worker pool using orchestration tools like Kubernetes.
2. Making It Publicly Accessible
Here’s how you can share your deployment with the world:
• Option A: Self-host LiveKit Server on a VM
You can use Docker Compose and Caddy to get automatic TLS and public access set up. Just follow the VM deployment guide to configure your DNS and generate the files you need.
• Option B: Use LiveKit Cloud
If you want a hassle-free, fully managed, and globally accessible setup, LiveKit Cloud is the way to go. Deploy your agent easily with the LiveKit CLI:
lk agent create
This command registers and deploys your agent on LiveKit’s global infrastructure, making things super simple.
3. A Few Extra Tips
• Your workers are stateless, so no need to worry about persistent storage.
• To keep things clean, use a separate LiveKit project for production so you don’t mix environments.
For the smoothest experience and easy scaling, I’d recommend going with LiveKit Cloud. If you have any questions or want a hand with anything, just let me know—I’m here to help!
Sources: Voice AI quickstart | LiveKit Docs | agent/Dockerfile | Deploying to custom environments | LiveKit Docs | Deployment and scaling | LiveKit Docs | Deploy to a VM | LiveKit Docs