-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (39 loc) · 1.08 KB
/
.env.example
File metadata and controls
44 lines (39 loc) · 1.08 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
# Required secrets
API_KEY=replace-with-api-key
# Optional extra keys (comma-separated). API_KEY remains valid.
API_KEYS=
PRIVATE_KEY=0xyour_private_key
# Optional core overrides (defaults come from doppler.config.ts)
PORT=3000
LOG_LEVEL=info
DEPLOYMENT_MODE=local
DEFAULT_CHAIN_ID=84532
RPC_URL=
DEFAULT_NUMERAIRE_ADDRESS=
READY_RPC_TIMEOUT_MS=2000
CORS_ORIGINS=
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=60000
# Optional Redis (required when DEPLOYMENT_MODE=shared)
REDIS_URL=
REDIS_KEY_PREFIX=doppler-api
# Optional idempotency
IDEMPOTENCY_ENABLED=true
IDEMPOTENCY_BACKEND=file
# In shared mode this is always forced to true.
IDEMPOTENCY_REQUIRE_KEY=false
IDEMPOTENCY_TTL_MS=86400000
IDEMPOTENCY_STORE_PATH=.data/idempotency-store.json
IDEMPOTENCY_REDIS_LOCK_TTL_MS=900000
IDEMPOTENCY_REDIS_LOCK_REFRESH_MS=300000
# Optional pricing
PRICE_ENABLED=true
PRICE_PROVIDER=coingecko
PRICE_BASE_URL=https://api.coingecko.com/api/v3
PRICE_TIMEOUT_MS=3000
PRICE_CACHE_TTL_MS=15000
PRICE_API_KEY=
PRICE_COINGECKO_ASSET_ID=ethereum
# Optional live tests
LIVE_TEST_ENABLE=false
LIVE_NUMERAIRE_PRICE_USD=3000