-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
109 lines (77 loc) · 2.76 KB
/
.env.production.example
File metadata and controls
109 lines (77 loc) · 2.76 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
# Production Environment Variables for Transponder Database
# Copy this file to .env.local and fill in your actual values
# ================================
# SUPABASE CONFIGURATION
# ================================
# Your Supabase project URL (found in Project Settings > API)
NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co
# Supabase Anonymous Key (public, safe to expose)
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key_here
# Supabase Service Role Key (secret, server-side only)
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key_here
# ================================
# DATABASE CONFIGURATION
# ================================
# Direct database connection string (for admin operations)
# Format: postgresql://postgres:[password]@[host]:5432/postgres
DATABASE_URL=postgresql://postgres:your_password@db.your-project-ref.supabase.co:5432/postgres
# ================================
# APPLICATION CONFIGURATION
# ================================
# Application environment
NODE_ENV=production
# Next.js URL (for API routes)
NEXTAUTH_URL=https://your-domain.com
# API rate limiting (requests per minute)
API_RATE_LIMIT=100
# Enable debug logging (true/false)
DEBUG_TRANSPONDER_API=false
# ================================
# SEARCH CONFIGURATION
# ================================
# Default search result limits
DEFAULT_SEARCH_LIMIT=50
MAX_SEARCH_LIMIT=500
# Full-text search settings
FULLTEXT_SEARCH_LIMIT=20
# Cache TTL in seconds (for API responses)
CACHE_TTL=300
# ================================
# SECURITY CONFIGURATION
# ================================
# CORS allowed origins (comma-separated)
CORS_ORIGINS=https://your-domain.com,https://www.your-domain.com
# API key for admin operations (generate a secure random string)
ADMIN_API_KEY=your_secure_admin_api_key_here
# JWT secret for session management
JWT_SECRET=your_jwt_secret_here
# ================================
# MONITORING & ANALYTICS
# ================================
# Enable performance monitoring
ENABLE_MONITORING=true
# Sentry DSN (for error tracking)
SENTRY_DSN=your_sentry_dsn_here
# Google Analytics ID (for usage tracking)
GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX
# ================================
# FEATURE FLAGS
# ================================
# Enable advanced search features
ENABLE_ADVANCED_SEARCH=true
# Enable export functionality
ENABLE_DATA_EXPORT=true
# Enable user favorites
ENABLE_FAVORITES=true
# Enable search history
ENABLE_SEARCH_HISTORY=true
# ================================
# PERFORMANCE OPTIMIZATION
# ================================
# Enable Redis caching (requires Redis setup)
ENABLE_REDIS_CACHE=false
REDIS_URL=redis://localhost:6379
# Enable CDN for static assets
CDN_URL=https://cdn.your-domain.com
# Image optimization service
NEXT_PUBLIC_IMAGE_DOMAIN=images.your-domain.com