From f3dac4c1dfb70589a3321d60bdfc1a5a6ed65b11 Mon Sep 17 00:00:00 2001 From: boneyard93501 <4523011+boneyard93501@users.noreply.github.com> Date: Tue, 29 Nov 2022 18:26:25 -0600 Subject: [PATCH] add configs --- aqua-examples/drand/services/configs/Config.toml | 16 ++++++++++++++++ .../drand/services/configs/deployment_cfg.json | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 aqua-examples/drand/services/configs/Config.toml create mode 100644 aqua-examples/drand/services/configs/deployment_cfg.json diff --git a/aqua-examples/drand/services/configs/Config.toml b/aqua-examples/drand/services/configs/Config.toml new file mode 100644 index 0000000..b4dd5e4 --- /dev/null +++ b/aqua-examples/drand/services/configs/Config.toml @@ -0,0 +1,16 @@ +modules_dir = "../artifacts/" + + +[[module]] +name = "curl_adapter" +max_heap_size = "512 KiB" +logger_enabled = true + +[module.mounted_binaries] +curl = "/usr/bin/curl" + + +[[module]] +name = "drand" +max_heap_size = "256 KiB" +logger_enabled = true diff --git a/aqua-examples/drand/services/configs/deployment_cfg.json b/aqua-examples/drand/services/configs/deployment_cfg.json new file mode 100644 index 0000000..7c2f54f --- /dev/null +++ b/aqua-examples/drand/services/configs/deployment_cfg.json @@ -0,0 +1,11 @@ +{ + "drand": { + "name": "drand", + "modules": [ + { + "name": "drand", + "path": "./artifacts/drand.wasm" + } + ] + } +}