forked from Stellar-Uzima/Uzima-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (66 loc) 路 1.75 KB
/
Copy path.env.example
File metadata and controls
78 lines (66 loc) 路 1.75 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
# Application
NODE_ENV=development
APP_NAME=Stellar Uzima Backend
APP_PORT=3001
APP_VERSION=1.0.0
# Database
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=stellar_uzima_dev
DB_SYNCHRONIZE=true
DB_LOGGING=true
# Redis
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Queue
QUEUE_REDIS_HOST=localhost
QUEUE_REDIS_PORT=6379
QUEUE_REDIS_PASSWORD=
QUEUE_REDIS_DB=1
QUEUE_DEFAULT_ATTEMPTS=3
QUEUE_DEFAULT_BACKOFF_DELAY=1000
# Cache
CACHE_DEFAULT_TTL=3600
CACHE_DURATION=300000
CACHE_MAX_RETRIES=3
CACHE_RETRY_DELAY=1000
# JWT
JWT_SECRET=your_jwt_secret_key_here_min_32_chars
JWT_EXPIRATION=3600
JWT_REFRESH_SECRET=your_refresh_secret_key_here_min_32_chars
JWT_REFRESH_EXPIRATION=604800
# Password validation (registration, reset, and change-password flows)
PASSWORD_MIN_LENGTH=8
PASSWORD_MAX_LENGTH=32
PASSWORD_REQUIRE_UPPERCASE=true
PASSWORD_REQUIRE_LOWERCASE=true
PASSWORD_REQUIRE_NUMBERS=true
PASSWORD_REQUIRE_SPECIAL_CHARS=true
# Stellar Blockchain
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_FUNDING_SECRET=your_stellar_account_secret_key
# CORS (comma-separated list of allowed origins)
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
# Legacy single-origin fallback (used when CORS_ORIGINS is unset)
CORS_ORIGIN=http://localhost:3000
# Database performance
SLOW_QUERY_THRESHOLD_MS=1000
# Logging
LOG_LEVEL=debug
# External Services
EMAIL_SERVICE_API_KEY=your_email_service_key
TWILIO_ACCOUNT_SID=your_twilio_account_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=+15005550006
# .env.example snippet
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
AWS_S3_ENDPOINT=SLOW_QUERY_THRESHOLD_MS=1000