-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy path.env.example
More file actions
99 lines (82 loc) · 3.79 KB
/
.env.example
File metadata and controls
99 lines (82 loc) · 3.79 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
# Environment Configuration for CodeGuide Starter Kit
# ============================================================================
# Application
# ============================================================================
NODE_ENV=development
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ============================================================================
# Authentication - Clerk
# ============================================================================
# Get these from: https://dashboard.clerk.com/
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_your_clerk_publishable_key_here
CLERK_SECRET_KEY=sk_test_your_clerk_secret_key_here
# Sign in/up URLs (optional, defaults to Clerk hosted pages)
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
# ============================================================================
# Database - Supabase
# ============================================================================
# Get these from: https://supabase.com/dashboard
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here
# For local development with Docker PostgreSQL
DATABASE_URL=postgresql://codeguide:codeguide123@localhost:5432/codeguide
# ============================================================================
# AI APIs
# ============================================================================
# OpenAI API (get from: https://platform.openai.com/)
OPENAI_API_KEY=sk-your_openai_api_key_here
# Anthropic API (get from: https://console.anthropic.com/)
ANTHROPIC_API_KEY=sk-ant-your_anthropic_api_key_here
# ============================================================================
# File Storage - AWS S3 / MinIO
# ============================================================================
# For production (AWS S3)
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
AWS_REGION=us-east-1
AWS_S3_BUCKET_NAME=codeguide-files
# For local development (MinIO)
MINIO_ENDPOINT=http://localhost:9000
MINIO_ACCESS_KEY=codeguide
MINIO_SECRET_KEY=codeguide123
MINIO_BUCKET_NAME=codeguide-local
# ============================================================================
# Redis (for caching and rate limiting)
# ============================================================================
REDIS_URL=redis://localhost:6379
# ============================================================================
# Email (for notifications)
# ============================================================================
# For production (e.g., SendGrid, AWS SES)
SMTP_HOST=smtp.your-email-provider.com
SMTP_PORT=587
SMTP_USER=your_smtp_user
SMTP_PASSWORD=your_smtp_password
SMTP_FROM=noreply@yourdomain.com
# For local development (MailHog)
LOCAL_SMTP_HOST=localhost
LOCAL_SMTP_PORT=1025
# ============================================================================
# Security
# ============================================================================
# Generate a strong JWT secret: openssl rand -base64 32
JWT_SECRET=your_jwt_secret_here
# Generate a strong encryption key for sensitive data
ENCRYPTION_KEY=your_encryption_key_here
# ============================================================================
# Monitoring & Analytics
# ============================================================================
# Optional: Add your monitoring service keys here
# SENTRY_DSN=your_sentry_dsn
# MIXPANEL_TOKEN=your_mixpanel_token
# GOOGLE_ANALYTICS_ID=your_ga_id
# ============================================================================
# Development
# ============================================================================
# Enable debug logging in development
DEBUG=true
LOG_LEVEL=debug
# Disable telemetry in development
NEXT_TELEMETRY_DISABLED=1