← Back to Docs
Reference

Environment Variables

Complete reference for Pounce environment variables. Required for self-hosted deployments.

Required Variables

VariableDescriptionExample
DATABASE_URLPostgreSQL connection stringpostgresql://user:pass@localhost:5432/pounce
SESSION_SECRETSecret for signing session cookiesRandom 32+ character string
LLM_PROVIDERAI provideropenai, anthropic, or ollama
LLM_API_KEYAPI key for the LLM providersk-...
EMAIL_PROVIDEREmail sending providerresend, sendgrid, or mailgun
EMAIL_API_KEYAPI key for the sending providerre_..., SG..., or key-...
EMAIL_FROMSender email addresshello@yourdomain.com
APP_URLYour Pounce instance URLhttps://pounce.yourdomain.com

Optional Variables

VariableDescriptionDefault
LLM_MODELModel to use for AI responsesProvider default
LLM_BASE_URLCustom API base URL (for Ollama)Provider default
ADMIN_EMAILOwner email for initial setup
ADMIN_PASSWORD_HASHBcrypt hash of owner password
PORTServer port3000
NODE_ENVEnvironmentdevelopment

OAuth Variables (Gmail)

VariableDescription
GOOGLE_CLIENT_IDGoogle OAuth client ID
GOOGLE_CLIENT_SECRETGoogle OAuth client secret

OAuth Variables (Outlook)

VariableDescription
MICROSOFT_CLIENT_IDMicrosoft Entra app ID
MICROSOFT_CLIENT_SECRETMicrosoft Entra app secret

Booking Webhook Secret

VariableDescription
CALENDLY_WEBHOOK_SIGNING_KEYCalendly webhook signature key
CALCOM_WEBHOOK_SECRETCal.com webhook secret

Setting Variables

Self-hosted (systemd)

Create a .env file in your Pounce directory:

# /var/www/pounce/.env (chmod 600)
DATABASE_URL=postgresql://...
SESSION_SECRET=your-random-secret
LLM_PROVIDER=openai
LLM_API_KEY=sk-...
EMAIL_PROVIDER=resend
EMAIL_API_KEY=re_...
EMAIL_FROM=hello@yourdomain.com
APP_URL=https://pounce.yourdomain.com

The systemd service loads this file automatically.

Vercel

Set environment variables in the Vercel dashboard under Settings → Environment Variables, or via the CLI:

vercel env add DATABASE_URL production

Questions? Contact us or visit Support