-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
43 lines (37 loc) · 1.21 KB
/
config.yaml
File metadata and controls
43 lines (37 loc) · 1.21 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
# InferaDB Engine Configuration - Development Defaults
# Good defaults for local development and testing
#
# STORAGE BEHAVIOR:
# - Default is "ledger" (production-ready, cryptographically verifiable)
# - In development environment with no Ledger config, auto-falls back to "memory"
# - Use --dev-mode flag to force memory storage regardless of config
# - Set storage: "memory" explicitly for persistent development mode
engine:
listen:
http: "127.0.0.1:8080"
grpc: "127.0.0.1:8081"
mesh: "0.0.0.0:8082"
# Storage backend: "ledger" (default, production) or "memory" (development)
# In development mode without Ledger config, automatically uses memory.
# Uncomment to explicitly use memory storage:
# storage: "memory"
# Ledger storage configuration (required in production)
# Provides cryptographically verifiable storage using InferaDB Ledger
# ledger:
# endpoint: "http://localhost:50051"
# client_id: "engine-dev-001"
# namespace_id: 1
# vault_id: 1 # optional
cache:
enabled: true
capacity: 10000
ttl: 300
token:
cache_ttl: 300
clock_skew: 60
max_age: 86400
mesh:
url: "http://localhost:9092"
timeout: 5000
cache_ttl: 300
cert_cache_ttl: 900