06Ship
Ship to production
What changes between cuelo dev on your laptop and an agent taking real calls.
Moving from cuelo dev to production comes down to three things: lock it
down, size it, and run it close to your providers.
The checklist
| Step | Why | Page | |
|---|---|---|---|
| 1 | Set serve.api_keys | The server refuses a public host without them, and they protect calls and recordings. | Security |
| 2 | Set serve.cors for browser apps | Browsers on other origins are blocked by default. | Security |
| 3 | Run cuelo machine check | Real-time capacity depends on the turn-taking stack and your CPU. | Deploy |
| 4 | Set serve.workers | One process uses about 4 cores, so add workers beyond that. | Deploy |
| 5 | Move the store to Postgres or MySQL | SQLite is per machine. | Storage |
| 6 | Put TLS in front and allow long WebSockets | Browsers need wss:// for the mic, and idle timeouts must exceed call length. | Deploy |
| 7 | Bake model weights into the image | The first call shouldn't wait on a download. | Deploy |
| 8 | Deploy near your providers | Network round trips are a large share of latency. | Deploy |