forked from kellymusk/Aframp-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (37 loc) · 1011 Bytes
/
.env.example
File metadata and controls
42 lines (37 loc) · 1011 Bytes
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
# Server Configuration
SERVER_HOST=127.0.0.1
SERVER_PORT=8000
CORS_ALLOWED_ORIGINS=http://localhost,http://127.0.0.1
# Database Configuration
DATABASE_URL=postgresql://user:password@localhost/aframp
DB_MAX_CONNECTIONS=20
DB_MIN_CONNECTIONS=5
DB_CONNECTION_TIMEOUT=30
DB_IDLE_TIMEOUT=300
# Stellar Configuration
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_REQUEST_TIMEOUT=15
STELLAR_MAX_RETRIES=3
STELLAR_HEALTH_CHECK_INTERVAL=30
# Redis Cache Configuration
REDIS_URL=redis://127.0.0.1:6379
REDIS_MAX_CONNECTIONS=20
REDIS_MIN_IDLE=5
REDIS_CONNECTION_TIMEOUT=5
REDIS_MAX_LIFETIME=300
REDIS_IDLE_TIMEOUT=60
REDIS_HEALTH_CHECK_INTERVAL=30
CACHE_DEFAULT_TTL=3600
CACHE_MAX_CONNECTIONS=10
# Logging Configuration
RUST_LOG=info
LOG_LEVEL=INFO
LOG_FORMAT=plain
ENABLE_TRACING=false
ENVIRONMENT=development
# Paystack Configuration
PAYSTACK_SECRET_KEY=sk_test_your_secret_key_here
PAYSTACK_BASE_URL=https://api.paystack.co
PAYSTACK_TIMEOUT_SECS=30
PAYSTACK_MAX_RETRIES=3