-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (35 loc) · 927 Bytes
/
.env.example
File metadata and controls
44 lines (35 loc) · 927 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
# Application
PORT=3000
APP_ROLE=master
WORKER_COUNT=5
# Private key for reward claims
PRIVATE_KEY=
RPC_URL_ARBITRUM=
# MongoDB Atlas
MONGODB_URI=mongodb+srv://user:password@cluster.mongodb.net/dbname?retryWrites=true&w=majority
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_TTL=3600
# Cache
CACHE_ENABLED=true
CACHE_TTL=300
CACHE_NAMESPACE=etf_api
# CORS
CORS_ENABLED=true
CORS_ORIGINS=*
# Rate Limit
RATE_LIMIT_ENABLED=true
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100
RATE_LIMIT_NAMESPACE=ratelimit
# RPC URLs
RPC_MAINNET_URLS=https://ethereum-rpc.publicnode.com,https://eth.llamarpc.com,https://rpc.ankr.com/eth
RPC_ARBITRUM_URLS=https://arbitrum-one-rpc.publicnode.com,https://arb1.arbitrum.io/rpc,https://rpc.ankr.com/arbitrum
# RPC Rate Limit
RPC_RATE_LIMIT_MAINNET=300/60
RPC_RATE_LIMIT_ARBITRUM=300/60
RPC_RETRY_MAX_RETRIES=5
RPC_RETRY_BASE_DELAY=1000
RPC_RETRY_MAX_DELAY=300000