2020-06-30 12:57:48 +00:00
|
|
|
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"
|
2020-06-10 22:07:32 +00:00
|
|
|
ipfs = "/usr/local/bin/ipfs"
|
2020-06-05 21:13:05 +00:00
|
|
|
|
2020-06-06 18:34:13 +00:00
|
|
|
[core_module.wasi]
|
2020-07-01 15:54:26 +00:00
|
|
|
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]
|
2020-06-12 17:29:23 +00:00
|
|
|
envs = []
|
2020-06-16 08:15:56 +00:00
|
|
|
preopened_files = ["./wasm/artifacts"]
|
|
|
|
mapped_dirs = { "tmp" = "./wasm/artifacts" }
|