diff --git a/.gitignore b/.gitignore index 7149c8e..d106f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,5 +12,4 @@ Cargo.lock # Added by cargo .idea -/artifacts -g \ No newline at end of file +artifacts/*.wasm diff --git a/artifacts/blueprint.json b/artifacts/blueprint.json new file mode 100644 index 0000000..f4bb030 --- /dev/null +++ b/artifacts/blueprint.json @@ -0,0 +1,7 @@ +{ + "name": "ipfs", + "dependencies": [ + "name:ipfs_effector", + "name:ipfs_pure" + ] +} \ No newline at end of file diff --git a/artifacts/ipfs_effector_config.json b/artifacts/ipfs_effector_config.json new file mode 100644 index 0000000..aab23e8 --- /dev/null +++ b/artifacts/ipfs_effector_config.json @@ -0,0 +1,14 @@ +{ + "name": "ipfs_effector", + "mountedBinaries": + { + "ipfs": "/usr/bin/ipfs" + }, + "mem_page_count": 1, + "preopened_files": [ + "/tmp" + ], + "mapped_dirs": { + "tmp": "./tmp" + } +} diff --git a/artifacts/ipfs_pure_config.json b/artifacts/ipfs_pure_config.json new file mode 100644 index 0000000..0fe99f6 --- /dev/null +++ b/artifacts/ipfs_pure_config.json @@ -0,0 +1,10 @@ +{ + "name": "ipfs_pure", + "mem_page_count": 1, + "preopened_files": [ + "/tmp" + ], + "mapped_dirs": { + "tmp": "./tmp" + } +}