-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy path.env.example
More file actions
63 lines (52 loc) · 1.86 KB
/
.env.example
File metadata and controls
63 lines (52 loc) · 1.86 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
# Site URL (used for sitemap generation and absolute URLs)
NEXT_PUBLIC_SITE_URL=https://teachlink.app
# Starknet Configuration
NEXT_PUBLIC_STARKNET_NETWORK=goerli-alpha
# NEXT_PUBLIC_STARKNET_RPC_URL=https://your-rpc-endpoint.com
# Optional: For production deployments
# NEXT_PUBLIC_STARKNET_NETWORK=mainnet-alpha
# Performance Analytics
NEXT_PUBLIC_ENABLE_PERF_ANALYTICS=true
# Feature Flags (true by default if unset)
NEXT_PUBLIC_FEATURE_TIPPING=true
NEXT_PUBLIC_FEATURE_OFFLINE_MODE=true
NEXT_PUBLIC_FEATURE_PERFORMANCE_ANALYTICS=true
NEXT_PUBLIC_FEATURE_DAO_GOVERNANCE=false
NEXT_PUBLIC_FEATURE_COLLABORATIVE_EDITING=false
# Edge Deployment (#276)
EDGE_REGION=auto
EDGE_CACHE_TTL=60
EDGE_LOG_LEVEL=info
EDGE_ENABLE_LOGGING=true
EDGE_TIMEOUT_MS=5000
# Database Configuration
DATABASE_URL=postgresql://user:password@localhost:5432/teachlink
DB_POOL_MAX=20
DB_CONNECTION_TIMEOUT=5000
DB_IDLE_TIMEOUT=30000
# SMS Integration (#448)
# Provider selection: twilio | sns | vonage (default: twilio)
SMS_PROVIDER=twilio
SMS_FROM_NUMBER=+1234567890
SMS_MAX_RETRIES=3
SMS_RETRY_DELAY_MS=1500
SMS_MAX_CONCURRENT=5
# Twilio credentials
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_AUTH_TOKEN=your_auth_token
TWILIO_PHONE_NUMBER=+1234567890
# AWS SNS credentials (alternative provider)
# AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=your_access_key
# AWS_SECRET_ACCESS_KEY=your_secret_key
# Vonage credentials (alternative provider)
# VONAGE_API_KEY=your_api_key
# VONAGE_API_SECRET=your_api_secret
# VONAGE_PHONE_NUMBER=+1234567890
# SMS Log Aggregation
LOG_AGGREGATION_URL=https://your-log-aggregation-endpoint.com/logs
NEXT_PUBLIC_LOG_AGGREGATION_URL=https://your-log-aggregation-endpoint.com/logs
# Discord OAuth Configuration
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_REDIRECT_URI=http://localhost:3000/api/auth/discord/callback