-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (60 loc) · 1.82 KB
/
.env.example
File metadata and controls
73 lines (60 loc) · 1.82 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
# Application
NODE_ENV=development
APP_NAME=LawyerOfOne
APP_URL=http://localhost:3000
# Database
DATABASE_URL=postgresql://lawyerofone:lawyerofone_dev@localhost:5432/lawyerofone_db
POSTGRES_USER=lawyerofone
POSTGRES_PASSWORD=lawyerofone_dev
POSTGRES_DB=lawyerofone_db
# Redis
REDIS_URL=redis://default:redis_dev_password@localhost:6379
REDIS_PASSWORD=redis_dev_password
# Authentication
JWT_SECRET=your_jwt_secret_here_change_in_production
JWT_EXPIRES_IN=7d
REFRESH_TOKEN_SECRET=your_refresh_token_secret_here
REFRESH_TOKEN_EXPIRES_IN=30d
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_KEY=your_supabase_service_key
# OpenAI
OPENAI_API_KEY=your_openai_api_key
OPENAI_ORGANIZATION=your_openai_org_id_optional
OPENAI_MODEL=gpt-4-turbo-preview
# Stripe
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
# Email (SendGrid/Resend/etc)
EMAIL_PROVIDER=sendgrid
SENDGRID_API_KEY=your_sendgrid_api_key
EMAIL_FROM=noreply@lawyerofone.com
EMAIL_FROM_NAME=LawyerOfOne
# Storage (S3/Cloudflare R2)
STORAGE_PROVIDER=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=lawyerofone-documents
# Monitoring
SENTRY_DSN=your_sentry_dsn
SENTRY_ENVIRONMENT=development
# API Configuration
API_PORT=3001
NEXT_PUBLIC_API_URL=http://localhost:3001
API_RATE_LIMIT_WINDOW=15
API_RATE_LIMIT_MAX_REQUESTS=100
# Security
CORS_ORIGIN=http://localhost:3000
SESSION_SECRET=your_session_secret_here
ENCRYPTION_KEY=your_32_character_encryption_key_here
# Feature Flags
ENABLE_AI_ANALYSIS=true
ENABLE_DOCUMENT_UPLOAD=true
ENABLE_STRIPE_PAYMENTS=true
ENABLE_EMAIL_NOTIFICATIONS=true
# Development
LOG_LEVEL=debug
ENABLE_SWAGGER_DOCS=true