# Environment Configuration ENVIRONMENT="local" LOG_LEVEL="DEBUG" # Backend API Configuration BACKEND_API_ENDPOINT="your-ngrok-url.ngrok-free.app" # Database Configuration DATABASE_URL="postgresql+asyncpg://postgres:postgres@localhost:5432/postgres" REDIS_URL="redis://:redissecret@localhost:6379" # Superuser Configuration SUPERUSER_PASSWORD="your-secure-password" # AI Service API Keys (commented out by default) # CARTESIA_API_KEY="sk_car_xxxxxxxxxxxxxxxxx" # DEEPGRAM_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # LiveKit Configuration (optional) # LIVEKIT_API_KEY="APIxxxxxxxxxx" # LIVEKIT_API_SECRET="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # LIVEKIT_URL="wss://your-livekit-instance.livekit.cloud" # AWS S3 Configuration (required for SaaS mode) AWS_ACCESS_KEY_ID="AKIAXXXXXXXXXXXXXXXXX" AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" S3_BUCKET="your-s3-bucket-name" S3_REGION="us-east-1" # Stack Auth Configuration STACK_AUTH_API_URL="https://api.stack-auth.com" STACK_AUTH_PROJECT_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" STACK_SECRET_SERVER_KEY="ssk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" STACK_PUBLISHABLE_CLIENT_KEY="pck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # Telephony Configuration # Telephony providers are configured via UI/database only. Navigate to: Workflow → Phone Call -> Configure Telephony # Tracing and Analytics ENABLE_TRACING=true LANGFUSE_SECRET_KEY="sk-lf-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" LANGFUSE_PUBLIC_KEY="pk-lf-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" LANGFUSE_HOST="https://langfuse.your-domain.com" # AI Service API Keys GROQ_API_KEY="gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" NEUPHONIC_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" NANGO_API_KEY="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # Default API Keys for new user signups OPENAI_API_KEY="sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ELEVENLABS_API_KEY="sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" DEEPGRAM_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" GOOGLE_API_KEY="AIzaSyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # Smart Turn Configuration ENABLE_SMART_TURN=true SMART_TURN_WS_SERVICE_ENDPOINT="wss://your-gpu-server.domain.com/ws" SMART_TURN_HTTP_SERVICE_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=" # SSL Key Logging (for debugging) # SSLKEYLOGFILE=/path/to/ssl-keys.log # Turn Logging ENABLE_TURN_LOGGING=true # OpenTelemetry Configuration OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true SIGNOZ_EXPORTER_ENDPOINT="ingest.us.signoz.cloud:443" SIGNOZ_EXPORTER_HEADERS="signoz-ingestion-key=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # Storage Configuration # User mode: 'saas' (default) uses AWS S3; 'oss' uses local MinIO USER_MODE=saas # OSS (MinIO) Configuration - only required when USER_MODE=oss # These values are optional and will use defaults if not provided MINIO_ENDPOINT=localhost:9000 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_BUCKET=voice-audio MINIO_SECURE=false