Skip to content

Commit

Permalink
feat: implement kurtosis package for robonomics mainnet node setup
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Nov 10, 2023
1 parent f19858c commit 237f442
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions parachain/mainnet-setup/robonomics.star
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 237f442

Please sign in to comment.