# ───────────────────────────────────────────── # TalentFlow — Environment Variables # Copy to .env and fill in production values # ───────────────────────────────────────────── # App NODE_ENV=development NEXT_PUBLIC_APP_URL=http://localhost:3000 NEXT_PUBLIC_APP_NAME=TalentFlow # Auth (generate with: openssl rand -base64 32) AUTH_SECRET=change-me-to-a-long-random-string AUTH_URL=http://localhost:3000 NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=change-me-to-a-long-random-string # MongoDB — Prisma requires a replica set (Atlas includes this by default) # Local Docker (see docker-compose.yml — port 27019): DATABASE_URL=mongodb://127.0.0.1:27019/talentflow?replicaSet=rs0&directConnection=true # Production Atlas example: # DATABASE_URL=mongodb+srv://user:pass@cluster.mongodb.net/talentflow?retryWrites=true&w=majority # AWS S3 (or S3-compatible: Cloudflare R2, MinIO, DigitalOcean Spaces) S3_REGION=us-east-1 S3_BUCKET=talentflow-uploads S3_ACCESS_KEY_ID= S3_SECRET_ACCESS_KEY= S3_ENDPOINT= S3_PUBLIC_URL= # Resend email RESEND_API_KEY= EMAIL_FROM=TalentFlow # Search (mongodb | elasticsearch) SEARCH_PROVIDER=mongodb ELASTICSEARCH_URL=