Skip to content

Commit

Permalink
feat: implement kurtosis package to run subsocial parachain local
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk committed Oct 30, 2023
1 parent 1341758 commit 6f7078f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions parachain/subsocial.star
Original file line number Diff line number Diff line change
@@ -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,
),
)

0 comments on commit 6f7078f

Please sign in to comment.