great-oil-61627
08/21/2025, 1:40 PMtall-airline-16756
08/21/2025, 1:40 PMtall-airline-16756
08/21/2025, 1:44 PMgreat-oil-61627
08/21/2025, 1:46 PMtall-airline-16756
08/21/2025, 1:47 PMCMD ["python", "agent.py", "start"]), which usually means the container is best focused on running just one main process.
• Token servers are generally pretty lightweight and often run as standalone services, usually with Node.js or something similar.
Putting both in one container might seem like it makes deployment easier, but it can clash with the single-process approach that Agent Cloud recommends. Most folks find it smoother to run the token server separately alongside the agent.
If you want, I’m happy to help you set up a standalone token server or chat through other deployment options that fit what you’re aiming for. Just let me know!
Sources: Deploying to production | LiveKit Docs | Authentication Examples | livekit/livekit_composite | DeepWiki | TEMPLATE.md | Web and mobile frontends | LiveKit Docs