-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
102 lines (82 loc) · 2.56 KB
/
.env.example
File metadata and controls
102 lines (82 loc) · 2.56 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
# Environment Configuration
# Copy this file to .env and update the values
# Basic app config
NODE_ENV=development
PORT=8080
# Database - using PostgreSQL locally
DATABASE_URL=postgresql://localhost:5432/augustinsurance
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=augustinsurance
DATABASE_USER=postgres
DATABASE_PASSWORD=password # change this!
DATABASE_SSL=false
DATABASE_POOL_MIN=2
DATABASE_POOL_MAX=10
# Redis for caching and sessions
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
# REDIS_PASSWORD= # uncomment if you have redis auth
REDIS_DB=0
# JWT tokens - CHANGE THESE IN PRODUCTION!
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=24h
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production
JWT_REFRESH_EXPIRES_IN=7d
# Blockchain config (Augustium)
BLOCKCHAIN_NETWORK=testnet
BLOCKCHAIN_RPC_URL=http://localhost:8545
BLOCKCHAIN_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
BLOCKCHAIN_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
BLOCKCHAIN_GAS_LIMIT=500000
BLOCKCHAIN_GAS_PRICE=20000000000
# Email settings (for notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=noreply@augustinsurance.com
SMTP_PASSWORD=your-email-password
SMTP_FROM=AugustInsurance <noreply@augustinsurance.com>
# AWS (for file storage)
AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET=augustinsurance-documents
# ML Service for fraud detection
ML_SERVICE_URL=http://localhost:5000
ML_SERVICE_API_KEY=ml-service-api-key
ML_MODEL_VERSION=v1.0
# External APIs
EXTERNAL_VERIFICATION_API_URL=https://api.verification-service.com
EXTERNAL_VERIFICATION_API_KEY=verification-api-key
# Rate limiting
RATE_LIMIT_WINDOW_MS=900000 # 15 minutes
RATE_LIMIT_MAX_REQUESTS=100
# File uploads
MAX_FILE_SIZE=10485760 # 10MB
ALLOWED_FILE_TYPES=pdf,jpg,jpeg,png,doc,docx
# Monitoring
# SENTRY_DSN= # add your sentry DSN here
LOG_LEVEL=info
# Frontend URL
FRONTEND_URL=http://localhost:3001
# API config
API_BASE_URL=http://localhost:8080
API_VERSION=v1
# Security
ENCRYPTION_KEY=your-32-character-encryption-key!!
CORS_ORIGINS=http://localhost:3001,http://localhost:8080
# Payment processing
PAYMENT_PROCESSOR_URL=https://api.payment-processor.com
PAYMENT_PROCESSOR_API_KEY=payment-processor-api-key
# Twilio (for SMS notifications)
# TWILIO_ACCOUNT_SID=
# TWILIO_AUTH_TOKEN=
# TWILIO_PHONE_NUMBER=
# Webhooks
WEBHOOK_SECRET=webhook-secret-key
# Cache settings
CACHE_TTL=3600 # 1 hour
# Queue configuration
# QUEUE_REDIS_URL= # can be same as REDIS_URL
QUEUE_CONCURRENCY=5