VoxCore reads configuration from a .env file at the project root. All variables have sensible defaults for local development.

Core settings

VariableDefaultDescription
VOXBRIDGE_CONFIG_URLhttp://localhost:8080/api/v1/configVoxBridge config API base URL
VOXCORE_SECRETvoxcore-internal-secretShared secret for VoxBridge ↔ VoxCore auth
MAX_CONCURRENT_CALLS5Max concurrent calls per worker. Formula: 1 CPU core ≈ 5 calls.
VOXCORE_WORKERS4Number of workers (reported in health endpoint, not used for spawning)
AUDIO_SAMPLE_RATE8000Default audio sample rate (Hz)
LOG_LEVELINFOLogging level (DEBUG, INFO, WARNING, ERROR)

Object storage

VariableDefaultDescription
MINIO_ENDPOINTlocalhost:9000S3-compatible endpoint
MINIO_ACCESS_KEYminioadminAccess key
MINIO_SECRET_KEYminioadminSecret key
MINIO_BUCKETrecordingsBucket for call recordings
MINIO_SECUREfalseUse HTTPS for storage endpoint

LiveKit (SIP transports)

VariableDefaultDescription
LIVEKIT_URL(empty)LiveKit server URL (e.g., wss://livekit.example.com)
LIVEKIT_API_KEY(empty)LiveKit API key
LIVEKIT_API_SECRET(empty)LiveKit API secret
LiveKit variables are only required if using LiveKit SIP inbound or outbound transports. The WebSocket and Exotel transports do not need them.

OpenTelemetry

VariableDefaultDescription
OTEL_ENABLEDfalseEnable OpenTelemetry tracing
OTEL_ENDPOINThttp://localhost:4317OTLP exporter endpoint
OTEL_SERVICE_NAMEvoxcoreService name in traces

API keys

STT, LLM, and TTS API keys can be set in environment variables but are typically provided through bot config from VoxBridge:
VariableService
DEEPGRAM_API_KEYDeepgram STT
SONIOX_API_KEYSoniox STT
OPENAI_API_KEYOpenAI LLM
GOOGLE_API_KEYGoogle Gemini LLM
ELEVENLABS_API_KEYElevenLabs TTS
SARVAM_API_KEYSarvam TTS

Production example

VOXBRIDGE_CONFIG_URL=https://api.vohci.com/api/v1/config
VOXCORE_SECRET=your-secret-here
MAX_CONCURRENT_CALLS=5
VOXCORE_WORKERS=4
AUDIO_SAMPLE_RATE=8000
LOG_LEVEL=info

MINIO_ENDPOINT=sgp1.digitaloceanspaces.com
MINIO_BUCKET=vohci-matrix
MINIO_SECURE=true

LIVEKIT_URL=wss://livekit.vohci.com

OTEL_ENABLED=false