-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
137 lines (114 loc) · 4.15 KB
/
.env.example
File metadata and controls
137 lines (114 loc) · 4.15 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# ===========================================
# Codeunia Environment Variables
# ===========================================
# Copy this file to .env.local and fill in your actual values
# ===========================================
# Core Application Settings
# ===========================================
NODE_ENV=development
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# ===========================================
# Supabase Configuration
# ===========================================
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# ===========================================
# Authentication & Security
# ===========================================
NEXTAUTH_SECRET=your_nextauth_secret_key
CSRF_SECRET=your_csrf_secret_key
# ===========================================
# Monitoring & Alerting System
# ===========================================
# Enable/disable alerting system
ALERTING_ENABLED=true
# Email alerting configuration
ALERT_EMAIL_RECIPIENTS=connect@codeunia.com
RESEND_API_KEY=your_resend_api_key
# Alert thresholds
ALERT_RESPONSE_TIME_THRESHOLD=5000
ALERT_ERROR_RATE_THRESHOLD=10
ALERT_CONSECUTIVE_FAILURES=3
# Optional: Webhook URLs for additional alerting
ALERT_WEBHOOK_URL=your_webhook_url
SLACK_WEBHOOK_URL=your_slack_webhook_url
DISCORD_WEBHOOK_URL=your_discord_webhook_url
# ===========================================
# Database & Caching
# ===========================================
# Redis configuration for caching
REDIS_URL=redis://localhost:6379
# ===========================================
# Payment Integration
# ===========================================
# Razorpay configuration
RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_key_secret
# ===========================================
# AI Integration
# ===========================================
# OpenRouter API for AI features
OPENROUTER_API_KEY=your_openrouter_api_key
# ===========================================
# SEO & Analytics
# ===========================================
# Search engine verification codes
GOOGLE_SITE_VERIFICATION=your_google_verification_code
BING_VERIFICATION=your_bing_verification_code
YANDEX_VERIFICATION=your_yandex_verification_code
YAHOO_VERIFICATION=your_yahoo_verification_code
# ===========================================
# Build & Deployment
# ===========================================
# Vercel deployment
VERCEL_URL=your_vercel_url
VERCEL_GIT_COMMIT_SHA=your_git_commit_sha
# GitHub Actions
GITHUB_SHA=your_github_sha
# Build configuration
BUILD_ID=your_build_id
ANALYZE=false
# ===========================================
# Development & Testing
# ===========================================
# Puppeteer configuration
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
PUPPETEER_CACHE_DIR=/tmp/.cache/puppeteer
# Node.js memory configuration
NODE_OPTIONS=--max-old-space-size=4096
# ===========================================
# Security & Rate Limiting
# ===========================================
# Rate limiting configuration
RATE_LIMIT_ENABLED=true
RATE_LIMIT_MAX_REQUESTS=100
RATE_LIMIT_WINDOW_MS=900000
# ===========================================
# Optional: Third-party Services
# ===========================================
# Cloudflare (if using Cloudflare for caching)
CLOUDFLARE_API_TOKEN=your_cloudflare_api_token
CLOUDFLARE_ZONE_ID=your_cloudflare_zone_id
# ===========================================
# Production-specific Settings
# ===========================================
# Uncomment and configure for production
# NODE_ENV=production
# NEXT_PUBLIC_SITE_URL=https://your-domain.com
# ALERTING_ENABLED=true
# REDIS_URL=redis://your-production-redis-url
# ===========================================
# CI/CD & Testing
# ===========================================
# Test environment URLs
STAGING_URL=https://your-staging-url.vercel.app
PRODUCTION_URL=https://your-production-url.vercel.app
# Lighthouse CI
LHCI_GITHUB_APP_TOKEN=your_lighthouse_ci_token
# Codecov
CODECOV_TOKEN=your_codecov_token
# Vercel deployment tokens (for GitHub Actions)
VERCEL_TOKEN=your_vercel_token
VERCEL_ORG_ID=your_vercel_org_id
VERCEL_PROJECT_ID=your_vercel_project_id