mirror of
https://github.com/omnara-ai/omnara.git
synced 2025-08-12 20:39:09 +03:00
* twilio * phone number validation * enforce user preference --------- Co-authored-by: Kartik Sarangmath <kartiksarangmath@Kartiks-MacBook-Air.local>
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
# development or production
|
|
ENVIRONMENT=development
|
|
|
|
# Database
|
|
PRODUCTION_DB_URL=postgresql://postgres:XXXXXX.supabase.co:5432/postgres # For Render use Session Pooler
|
|
DEVELOPMENT_DB_URL=postgresql://user:password@localhost:5432/agent_dashboard
|
|
|
|
# MCP Server
|
|
MCP_SERVER_PORT=8080
|
|
|
|
# Backend API
|
|
API_PORT=8000
|
|
# Frontend URLs - JSON array of allowed frontend origins
|
|
# Single URL: FRONTEND_URLS="https://example.com"
|
|
# Multiple URLs: FRONTEND_URLS='["http://localhost:3000", "https://example.com"]'
|
|
# Production example with all domains:
|
|
# FRONTEND_URLS='["https://omnara.ai", "https://www.omnara.ai", "https://omnara.com", "https://www.omnara.com", "https://app.omnara.ai"]'
|
|
FRONTEND_URLS='["http://localhost:3000"]'
|
|
|
|
# Supabase Configuration
|
|
SUPABASE_URL=https://xxxxxxxxxxxx.supabase.co
|
|
SUPABASE_ANON_KEY=your-anon-key-here
|
|
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
|
|
|
|
# JWT Signing Keys for API Keys (generate with scripts/generate_jwt_keys.py)
|
|
JWT_PRIVATE_KEY=your-jwt-private-key-here
|
|
JWT_PUBLIC_KEY=your-jwt-public-key-here
|
|
|
|
SENTRY_DSN=123.us.sentry.io/456
|
|
|
|
# Billing Configuration (optional - for SaaS deployments)
|
|
# ENFORCE_LIMITS=false
|
|
# STRIPE_SECRET_KEY=sk_test_...
|
|
# STRIPE_WEBHOOK_SECRET=whsec_...
|
|
# STRIPE_PRO_PRICE_ID=price_... # $9 unlimited agents
|
|
# STRIPE_ENTERPRISE_PRICE_ID=price_... # $500 unlimited + enterprise features
|
|
|
|
# Twilio Configuration (optional - for SMS and Email notifications)
|
|
# TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
# TWILIO_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
# TWILIO_FROM_PHONE_NUMBER=+1234567890 # Your Twilio phone number in E.164 format
|
|
# TWILIO_SENDGRID_API_KEY=SG.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
# TWILIO_FROM_EMAIL=notifications@example.com # Verified sender email address |