Gunnar

nordisk/monetize

crates/lake-product/one-box.lake.example.toml

# The Lake on a ONE box (monetize v2.0 P1): the blocks a mock or test ONE box adds to list it.
# This is what `cargo xtask bench lake` writes (crates/lake-product/src/bench.rs). Every name is
# *.mock.invalid.
#
# The guest: built by `cargo xtask build-guests` (monetize_guest_lake.wasm), signed by a root the
# box trusts. PULLED: `instance` names the estate whose boxes report and pull their orders; no
# endpoint, no grants — the ONE box never calls into a Lake.
[products.lake]
instance = "acme"
guest = "/var/lib/monetize/guests/lake.wasm"
guest_trust_roots = ["/etc/monetize/plugin-root.der"]
grants = []

# The account a visitor's order makes: a free account plan (0, no room).
[signups.lake.plans."lake/account"]
amount_minor = 0
currency = "Eur"
cap_bytes = 0
period_days = 30

# Lake estates: the guest's plan from the buyer's numbers (front, ingestors, Doris BE and FE, a
# graph database or none), every role laid from the `lake` medium, kept-booted from `lake-keep`.
[estate_orders]
product = "lake"
vendor = "mockpay"
cloud = "mockcloud"
apex = "lake.mock.invalid"
currency = "EUR"
zone = "fi-hel2"
shop_door = "https://one.mock.invalid"

[estate_orders.media]
lake = "lake-r1"
lake-keep = "lake-keep-r1"