Build and run with Docker
The repo ships a Dockerfile and helper scripts:yarn docker:run exists as a shortcut, but it does not pass an env file. Use the
explicit docker run above so the container receives your configuration.Required configuration
Speech and telephony are optional and only needed for voice agents:
LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET, LIVEKIT_SIP_HOST,
VOICE_WEBHOOK_URL, plus an STT provider key such as DEEPGRAM_API_KEY or
ASSEMBLYAI_API_KEY.
Integration credentials follow a consistent naming pattern —
{SERVICE}_CLIENT_ID, {SERVICE}_CLIENT_SECRET, {SERVICE}_REDIRECT_URI. See
each integration guide for the exact names.
Database migration
Model schemas are applied with:Running behind a load balancer
CORS preflight requests bypass the LoopBack sequence entirely — only thecors.origin callback runs. If you are debugging a preflight that fails,
instrument that callback rather than the sequence.
The voice agent worker
Voice agents run as a separate Python process:uv run python agent_workflow.py dev. It needs the LiveKit
variables above and an STT provider key. Deploy it alongside the API, not inside
the same container.