.env.example on GitHub
Required Settings
Application
DATABASE_URL
PostgreSQL connection string. Ringee uses Prisma ORM.
REDIS_URL
REDIS_HOST
REDIS_PORT
FRONTEND_URL
URL where the admin frontend is served.
BACKEND_URL / PUBLIC_BACKEND_URL
URL where the backend API is served. In production, set both variables to the same public HTTPS origin without an /api suffix. Ringee uses it to build provider callback URLs for AI Voice Agents and desk phones.
APP_ENCRYPTION_SECRET
A random string used for encrypting sensitive data at the application level. Should be unique per installation.
Background jobs (Temporal)
The orchestrator (apps/orchestrator) runs durable workflows and schedules. Both the backend and the orchestrator read these.
Authentication (Clerk)
See the Clerk Configuration guide for setup details.Telephony (Telnyx)
See the Telnyx Configuration guide for setup details.TELNYX_CALL_CONTROL_APP_ID may use its connection-id fallback when both ids point to the same Telnyx resource. TELNYX_OUTBOUND_VOICE_PROFILE_ID is recommended for explicit AI Voice Agent routing and billing, and is required when Desk Phones are enabled; without it, AI Voice Agents retain the provider’s default outbound route.
Payments (Stripe)
See the Stripe Configuration guide for setup details.Email (Resend)
See the Email Configuration guide for details.Storage (Cloudflare R2)
See the R2 Configuration guide for details.Optional Settings
Frontend
Sentry (Error Tracking)
AI
AI Voice Agents
AI Voice Agents use the normal PostgreSQL, Redis, Temporal, Telnyx and storage settings in addition to these controls. See Self-host AI Voice Agents for the deployment flow.OpenAI, Anthropic and Google keys selected in the product are per-agent BYOK
credentials. Ringee verifies each key, stores it in the voice provider’s
secret store and persists only the provider reference; they are not global
environment variables.

