marine/examples/ipfs_node/Config.toml

25 lines
621 B
TOML
Raw Normal View History

core_modules_dir = "wasm/artifacts/wasm_modules"
2020-06-06 18:34:13 +00:00
[[core_module]]
name = "ipfs_node.wasm"
mem_pages_count = 100
logger_enabled = true
[core_module.imports]
mysql = "/usr/bin/mysql"
ipfs = "/usr/local/bin/ipfs"
2020-06-05 21:13:05 +00:00
2020-06-06 18:34:13 +00:00
[core_module.wasi]
envs = ["IPFS_ADDR=/dns4/relay02.fluence.dev/tcp/15001", "timeout=1s"]
2020-06-16 08:15:56 +00:00
preopened_files = ["./wasm/artifacts"]
mapped_dirs = { "tmp" = "./wasm/artifacts" }
2020-06-06 18:34:13 +00:00
[rpc_module]
mem_pages_count = 100
logger_enabled = true
2020-06-11 00:10:37 +00:00
[rpc_module.wasi]
envs = []
2020-06-16 08:15:56 +00:00
preopened_files = ["./wasm/artifacts"]
mapped_dirs = { "tmp" = "./wasm/artifacts" }