-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
72 lines (55 loc) · 1.92 KB
/
env.example
File metadata and controls
72 lines (55 loc) · 1.92 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
# Database Configuration
DATABASE_URL="postgresql://username:password@localhost:5432/meetopia_db"
# Socket.IO Server Configuration
NEXT_PUBLIC_SOCKET_URL="http://localhost:3003" # Use https://meetopiaapp.onrender.com for production
# Server Configuration
PORT=3003
NODE_ENV=development
LOG_LEVEL=verbose # Set to 'error' for production
# CORS Origins (comma-separated)
CORS_ORIGINS="http://localhost:3000,http://localhost:3001"
# Authentication (if implementing user accounts)
JWT_SECRET="your-super-secret-jwt-key-here"
NEXTAUTH_SECRET="your-secret-key-here"
NEXTAUTH_URL="http://localhost:3000" # Your app URL
# Error Monitoring (Sentry)
NEXT_PUBLIC_SENTRY_DSN="your-sentry-dsn-for-error-tracking"
SENTRY_AUTH_TOKEN="your-sentry-auth-token"
# Analytics and Monitoring
NEXT_PUBLIC_VERCEL_ANALYTICS_ID="your-vercel-analytics-id"
NEXT_PUBLIC_GA_MEASUREMENT_ID="your-google-analytics-id"
# Rate Limiting (if using external service)
UPSTASH_REDIS_REST_URL="your-upstash-redis-url"
UPSTASH_REDIS_REST_TOKEN="your-upstash-redis-token"
# Security Settings
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=900000
# Feature Flags (optional)
ENABLE_ANALYTICS=true
ENABLE_ERROR_TRACKING=true
ENABLE_PERFORMANCE_MONITORING=true
# Deployment Settings
VERCEL_URL="your-vercel-deployment-url"
RENDER_URL="your-render-deployment-url"
# Clerk Auth (if using)
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
# Email Service (Optional - for notifications)
EMAIL_SERVER_HOST=""
EMAIL_SERVER_PORT=587
EMAIL_SERVER_USER=""
EMAIL_SERVER_PASSWORD=""
EMAIL_FROM=""
# Analytics (Optional)
NEXT_PUBLIC_GA_ID=""
# Feature Flags (Optional)
NEXT_PUBLIC_ENABLE_ANALYTICS=false
NEXT_PUBLIC_ENABLE_NOTIFICATIONS=false
# Security
TRUSTED_DOMAINS="localhost,127.0.0.1"
# Video Quality Settings (Optional)
NEXT_PUBLIC_DEFAULT_VIDEO_QUALITY="720p"
NEXT_PUBLIC_MAX_VIDEO_QUALITY="1080p"
# Chat Settings (Optional)
NEXT_PUBLIC_MAX_MESSAGE_LENGTH=500
NEXT_PUBLIC_CHAT_HISTORY_LIMIT=100