From 237f442e927394d7de6582481d1caac28152212d Mon Sep 17 00:00:00 2001 From: abhiyana Date: Fri, 10 Nov 2023 17:55:47 +0530 Subject: [PATCH] feat: implement kurtosis package for robonomics mainnet node setup --- parachain/mainnet-setup/robonomics.star | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 parachain/mainnet-setup/robonomics.star diff --git a/parachain/mainnet-setup/robonomics.star b/parachain/mainnet-setup/robonomics.star new file mode 100644 index 0000000..f19ef9a --- /dev/null +++ b/parachain/mainnet-setup/robonomics.star @@ -0,0 +1,21 @@ +def run_robonomics(plan): + exec_command = [ + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + ] + robonomics_service_config = ServiceConfig( + image = "robonomics/robonomics:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "tcp": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/robonomics"] + ) + plan.add_service(name = "robonomics-node", config = robonomics_service_config)