-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (35 loc) · 1.49 KB
/
Copy path.env.example
File metadata and controls
45 lines (35 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Database
DATABASE_URL="postgresql://user:password@host.neon.tech/database?sslmode=require"
# Direct connection for migrations (remove -pooler suffix)
DIRECT_URL="postgresql://user:password@host.neon.tech/database?sslmode=require"
# Better Auth Configuration
# Secret key for encryption, signing, and hashing (minimum 32 characters)
BETTER_AUTH_SECRET="your-super-secret-better-auth-key-min-32-chars"
# Base URL of your application (server-side only)
BETTER_AUTH_URL="http://localhost:3000"
# Application URL (exposed to browser)
NEXT_PUBLIC_URL="http://localhost:3000"
# Google OAuth (Social Provider)
GOOGLE_CLIENT_ID="your-google-oauth-client-id.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="your-google-oauth-client-secret"
AI_PROVIDER="google" # or "openai"
# OpenAI API
OPENAI_API_KEY="sk-your-openai-api-key-here"
OPENAI_MODEL="gpt-model-name-here"
OPENAI_EMBEDDING_MODEL="text-embedding-model-name-here"
# Google AI
GOOGLE_API_KEY="your-google-ai-api-key-here"
GOOGLE_MODEL="gemini-model-name-here"
GOOGLE_EMBEDDING_MODEL="text-embedding-model-name-here"
# Cloudflare R2 Storage
R2_ACCOUNT_ID="your-cloudflare-account-id"
R2_ACCESS_KEY_ID="your-r2-access-key-id"
R2_SECRET_ACCESS_KEY="your-r2-secret-access-key"
R2_BUCKET_NAME="questioning-agent-storage"
R2_PUBLIC_URL="https://pub-xxxxxxxxxxxxx.r2.dev"
R2_ENDPOINT="https://<account-id>.r2.cloudflarestorage.com"
R2_REGION="auto"
# Resend - Email Service (for contact form)
RESEND_API_KEY="re_your_resend_api_key"
# Application
NODE_ENV="development"