mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
25 lines
621 B
TOML
25 lines
621 B
TOML
core_modules_dir = "wasm/artifacts/wasm_modules"
|
|
|
|
[[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"
|
|
|
|
[core_module.wasi]
|
|
envs = ["IPFS_ADDR=/dns4/relay02.fluence.dev/tcp/15001", "timeout=1s"]
|
|
preopened_files = ["./wasm/artifacts"]
|
|
mapped_dirs = { "tmp" = "./wasm/artifacts" }
|
|
|
|
[rpc_module]
|
|
mem_pages_count = 100
|
|
logger_enabled = true
|
|
|
|
[rpc_module.wasi]
|
|
envs = []
|
|
preopened_files = ["./wasm/artifacts"]
|
|
mapped_dirs = { "tmp" = "./wasm/artifacts" }
|