# This file provides the same runtime host as the kvcounter.rs sample, but in manifest form
# To see this in action, `cargo run --example kvcounter_manifest --all-features` from the
# wascc-host root directory
---
labels:
sample: "Key-Value Counter"
actors:
- ./examples/.assets/kvcounter.wasm
capabilities:
- path: ./examples/.assets/libwascc_redis.so
- path: ./examples/.assets/libwascc_httpsrv.so
bindings:
- actor: "MASCXFM4R6X63UD5MSCDZYCJNPBVSIU6RKMXUPXRKAOSBQ6UY3VT3NPZ"
capability: "wascc:keyvalue"
values:
URL: redis://127.0.0.1:6379
- actor: "MASCXFM4R6X63UD5MSCDZYCJNPBVSIU6RKMXUPXRKAOSBQ6UY3VT3NPZ"
capability: "wascc:http_server"
values:
PORT: "8081"