From 6f7078f0279ea249310b2f405358f45c3b83adb6 Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Mon, 30 Oct 2023 18:05:33 +0530 Subject: [PATCH] feat: implement kurtosis package to run subsocial parachain local --- parachain/subsocial.star | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 parachain/subsocial.star diff --git a/parachain/subsocial.star b/parachain/subsocial.star new file mode 100644 index 0000000..424e8a9 --- /dev/null +++ b/parachain/subsocial.star @@ -0,0 +1,19 @@ +def run_subsocial(plan, args): + exec_command = [ + "/bin/sh", + "-c", + "/usr/local/bin/subsocial-collator --collator --chain=local-rococo --port 40335 --ws-port 9944 --unsafe-ws-external -- --execution wasm --chain /app/rococo-local.json", + ] + plan.add_service( + name = "subsocial", + config = ServiceConfig( + image = "dappforce/subsocial-parachain:latest", + files = { + "/app": "configs", + }, + ports = { + "parachain": PortSpec(9944, transport_protocol = "TCP"), + }, + entrypoint = exec_command, + ), + )