Configuration File
Editdocker/assistant-api/.assistant.env before starting the service.
For local development (without Docker), export the variables and override the Docker hostnames shown in the table below.
Required Variables
Service Identity
PostgreSQL
Redis
OpenSearch (Optional — Knowledge Base Only)
OpenSearch is only needed for knowledge base / RAG features. IfOPENSEARCH__HOST is left empty (the default), the assistant-api starts without knowledge base support and skips the OpenSearch connection entirely.
Asset Storage
Telemetry (Optional)
assistant-api supports an optional environment-configured default telemetry exporter.
Set exporter type:
Provider-specific keys:
OTLP HTTP
OTLP gRPC
Datadog
AWS X-Ray
Google Trace
Azure Monitor
OpenSearch / Logging
Asterisk AudioSocket
The AudioSocket server binds on a separate TCP port. Asterisk dials into this port directly.
Asterisk dialplan usage:
SIP Server
The built-in SIP server handles direct SIP INVITE connections and Asterisk SIP trunk connections.
SIP connection string:
Full Environment File
Local Development Overrides
When running from source, override Docker hostnames:Next Steps
STT / TTS Providers
Configure and add speech recognition and synthesis providers.
Telephony
Twilio, Asterisk, SIP, and other telephony provider setup.