Skip to content

Configuration Reference

HireMinds configuration is driven entirely by environment variables. No secrets are committed to the codebase.

Environment Variables

Backend (.env)

Variable Required Description Example
DATABASE_URL Yes Postgres connection string postgresql+asyncpg://user:pass@localhost:5432/hiremind
SUPABASE_URL Yes Supabase project URL https://xyz.supabase.co
SUPABASE_KEY Yes Supabase anonymous key <anon_key>
SUPABASE_JWT_SECRET Yes Secret to decode auth tokens <jwt_secret>
GEMINI_API_KEY Yes* LLM Provider Key <api_key>
DEEPGRAM_API_KEY No STT key used only by the legacy WebSocket fallback pipeline <api_key>
LIVEKIT_URL No LiveKit Server URL wss://...
REDIS_URL Yes Redis connection string redis://localhost:6379
RESEND_API_KEY Yes Resend API key for emails <api_key>
FRONTEND_URL Yes Allowed CORS origin http://localhost:3000
RECRUITER_EMAILS No Comma-separated list for auto-promotion admin@hireminds.com

* Required unless using an alternative local provider setup.

Frontend (.env.local)

Variable Required Description Example
NEXT_PUBLIC_SUPABASE_URL Yes Supabase project URL https://xyz.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY Yes Supabase anonymous key <anon_key>
NEXT_PUBLIC_API_URL Yes Backend REST API endpoint http://localhost:8000/api/v1

Danger

Never expose secrets beginning with SUPABASE_JWT_SECRET or any API keys on the frontend or commit them to source control.