-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (35 loc) · 739 Bytes
/
.env.example
File metadata and controls
45 lines (35 loc) · 739 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
43
44
45
PORT=3000
NODE_ENV=development
# PostgreSQL
DB_HOST=localhost
DB_PORT=5432
DB_NAME=crosspay
DB_USER=crosspay_admin
DB_PASSWORD=change_me_in_production
DB_SSL=false
DB_POOL_MIN=2
DB_POOL_MAX=20
# Redis
REDIS_URL=redis://localhost:6379
# API Security (generate: echo -n "your-api-key" | sha256sum)
API_KEY_HASH=
# FX
FX_PROVIDER_URL=https://api.exchangerate.host/latest
FX_CACHE_TTL_SECONDS=300
FX_MARKUP_BPS=50
# Payments
MAX_PAYMENT_AMOUNT=1000000
PAYMENT_TTL_HOURS=72
IDEMPOTENCY_TTL_HOURS=24
# Sanctions
SANCTIONS_LIST_REFRESH_HOURS=6
# Rate Limiting
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=900000
# Webhooks
WEBHOOK_TIMEOUT_MS=10000
WEBHOOK_MAX_RETRIES=5
# CORS
ALLOWED_ORIGINS=https://yourdomain.com
# Logging
LOG_LEVEL=info