forked from nathydre21/nepa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (54 loc) · 1.6 KB
/
Copy path.env.example
File metadata and controls
68 lines (54 loc) · 1.6 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
# Server Configuration
PORT=3000
NODE_ENV=development
# Redis Configuration (for distributed rate limiting)
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# reCAPTCHA Configuration
RECAPTCHA_SECRET_KEY=your_recaptcha_secret_key_here
RECAPTCHA_SITE_KEY=your_recaptcha_site_key_here
# Security Configuration
BLOCKED_IPS=192.168.1.100,10.0.0.50
CORS_ORIGIN=http://localhost:3000
# API Keys
API_KEY_SECRET=your_api_key_secret_here
# Database Configuration
DATABASE_URL="postgresql://username:password@localhost:5432/nepa_db"
# Stellar Configuration
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_SECRET_KEY=your_stellar_secret_key_here
# Logging Configuration
LOG_LEVEL=info
LOG_FILE=logs/app.log
# Error Tracking and Monitoring
SENTRY_DSN=https://your-sentry-dsn-here
SENTRY_TRACES_SAMPLE_RATE=0.1
SENTRY_ENVIRONMENT=development
# Performance Monitoring
ENABLE_PERFORMANCE_MONITORING=true
PERFORMANCE_RETENTION_HOURS=24
# Analytics Configuration
ENABLE_ANALYTICS=true
ANALYTICS_RETENTION_DAYS=30
ANALYTICS_BATCH_SIZE=100
# Rate Limiting Configuration
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
PAYMENT_RATE_LIMIT_MAX=5
TRANSACTION_RATE_LIMIT_MAX=20
AUTH_RATE_LIMIT_MAX=10
# Monitoring and Alerting
ENABLE_ABUSE_MONITORING=true
ABUSE_ALERT_THRESHOLD=100
WEBHOOK_URL_FOR_ALERTS=https://your-webhook-url.com/alerts
# JWT Configuration (if using JWT auth)
JWT_SECRET=your_jwt_secret_here
JWT_EXPIRES_IN=24h
# Email Configuration (for alerts)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password