-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
46 lines (34 loc) · 1.39 KB
/
Copy path.env.example
File metadata and controls
46 lines (34 loc) · 1.39 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
46
# Database Configuration
# PostgreSQL connection string for your database (Neon, local PostgreSQL, etc.)
DATABASE_URL="postgresql://username:password@host:port/database_name"
# Direct database connection string (required for serverless databases like Neon)
DIRECT_DATABASE_URL="postgresql://username:password@host:port/database_name"
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# Clerk URLs
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard
# App Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Super Admin Configuration
SUPER_ADMIN_EMAIL=your-email@example.com
# Clerk Webhook
WEBHOOK_SECRET=your_clerk_webhook_secret
# Web Search API Options (choose one):
# Option 1: Google Custom Search API (Recommended)
GOOGLE_CUSTOM_SEARCH_API_KEY=your_google_api_key
GOOGLE_CUSTOM_SEARCH_ENGINE_ID=your_search_engine_id
# Option 2: SerpAPI (Alternative)
SERPAPI_KEY=your_serpapi_key
# Option 3: Bing Search API (Alternative)
BING_SEARCH_API_KEY=your_bing_api_key
# Search Configuration
SEARCH_RESULTS_LIMIT=10
SEARCH_CACHE_DURATION=3600000
# Rate Limiting (Upstash Redis)
# Get free tier at: https://upstash.com/
UPSTASH_REDIS_REST_URL=your_upstash_redis_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token