-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1 KB
/
.env.example
File metadata and controls
47 lines (38 loc) · 1 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
# --- server
PORT=8080
CANONICAL_BASE_URL=https://runtime.commandlayer.org
SERVICE_NAME=commandlayer-commercial-runtime
SERVICE_VERSION=1.0.0
API_VERSION=1.0.0
# --- verbs
ENABLED_VERBS=authorize,checkout,purchase,ship,verify
# --- schemas
SCHEMA_HOST=https://www.commandlayer.org
SCHEMA_FETCH_TIMEOUT_MS=15000
SCHEMA_VALIDATE_BUDGET_MS=15000
# --- receipt signing
RECEIPT_SIGNER_ID=commercial.commandlayer.eth
RECEIPT_SIGNING_PRIVATE_KEY_PEM_B64=
RECEIPT_SIGNING_PUBLIC_KEY_PEM_B64=
# --- ENS verify (optional)
ETH_RPC_URL=
VERIFIER_ENS_NAME=commercial.commandlayer.eth
ENS_PUBKEY_TEXT_KEY=cl.receipt.pubkey.pem
# --- verify safety
VERIFY_MAX_MS=30000
VERIFY_SCHEMA_CACHED_ONLY=1
# --- caching
MAX_JSON_CACHE_ENTRIES=256
JSON_CACHE_TTL_MS=600000
MAX_VALIDATOR_CACHE_ENTRIES=128
VALIDATOR_CACHE_TTL_MS=1800000
# --- prewarm
PREWARM_MAX_VERBS=25
PREWARM_TOTAL_BUDGET_MS=12000
PREWARM_PER_VERB_BUDGET_MS=5000
# --- limits
DEFAULT_DAILY_FREE_CALLS=100
DEFAULT_RATE_RPS=3
# --- billing
BILLING_PROVIDER=stub
STRIPE_SECRET=