-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (65 loc) · 2.29 KB
/
Copy path.env.example
File metadata and controls
82 lines (65 loc) · 2.29 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Underwrite Configuration — Environment Variable Overrides
# Copy this file to .env and adjust for your local setup.
#
# All variables honoured by Configuration.__apply_env_overrides:
# Store backend: memory | filesystem | postgres
# UNDERWRITE_STORE_BACKEND=filesystem
# UNDERWRITE_STORE_DSN=postgresql://user:pass@localhost:5432/underwrite
# UNDERWRITE_STORE_POOL_SIZE=5
# Store read-replica (CQRS)
# UNDERWRITE_STORE_READ_BACKEND=
# UNDERWRITE_STORE_READ_DSN=
# Event bus: local | sqs | modal
# UNDERWRITE_BUS_BACKEND=local
# UNDERWRITE_BUS_RATE_LIMIT=100
# UNDERWRITE_BUS_MAX_WORKERS=4
# UNDERWRITE_BUS_MAX_FUTURES=10000
# UNDERWRITE_BUS_MAX_BUFFER_SIZE=0
# Logging
# UNDERWRITE_LOG_LEVEL=INFO
# UNDERWRITE_LOG_OUTPUT=stdout
# UNDERWRITE_LOG_FORMAT=text
# Data directory (for filesystem store) — must not point at a
# sensitive system path (/etc, /proc, /sys, /var, /usr).
# UNDERWRITE_DATA_DIR=./data
# Identity (Ed25519 keys)
# UNDERWRITE_IDENTITY_KEY_TTL=86400
# UNDERWRITE_IDENTITY_KEY_GRACE=3600
# Authz
# UNDERWRITE_AUTHZ_ENABLED=false
# UNDERWRITE_AUTHZ_POLICY_FILE=
# Metrics (Prometheus)
# UNDERWRITE_METRICS_ENABLED=true
# UNDERWRITE_METRICS_EXPORT_INTERVAL=60
# Tracing (OpenTelemetry)
# UNDERWRITE_TRACING_ENABLED=false
# UNDERWRITE_TRACING_EXPORTER=console
# UNDERWRITE_OTLP_ENDPOINT=http://localhost:4317
# Saga orchestration
# UNDERWRITE_SAGA_ENABLED=true
# Secrets backend: env | vault | aws | none
# UNDERWRITE_SECRETS_BACKEND=env
# VAULT_TOKEN=
# UNDERWRITE_SECRETS_VAULT_URL=http://localhost:8200
# UNDERWRITE_SECRETS_AWS_REGION=
# Auto-recovery
# UNDERWRITE_RECOVERY_AUTO_RESTART=true
# UNDERWRITE_RECOVERY_MAX_RESTARTS=3
# UNDERWRITE_RECOVERY_BACKOFF=1.0
# HTTP server
# UNDERWRITE_API_TOKEN=
# UNDERWRITE_REQUIRE_AUTH=false
# Audit
# UNDERWRITE_AUDIT_MAX_LEDGER=100000
# UNDERWRITE_AUDIT_EXPORT_URL=
# Risk model integrity
# UNDERWRITE_ALLOW_JOBLIB=false
# Plugin allowlist (comma-separated; '*' = load all)
# UNDERWRITE_PLUGINS=
# RBI / KFS parameters read by the relevant services (no env
# override at the configuration layer; the services accept these
# as kwargs at construction time):
# - cooling_off_days for KfsService
# - rate_cap, penal_interest_cap for PricingService
# - personal_loan_cap, micro_loan_cap, penal_interest_cap for
# the static cap dicts in pricing.service