Skip to content

Commit

Permalink
Merge branch 'main' into DIVE-193-Localnet-setup-for-Turing-Network-K…
Browse files Browse the repository at this point in the history
…usama
  • Loading branch information
shreyasbhat0 authored Nov 2, 2023
2 parents ffe2e16 + a3a93ab commit 01a6cd4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions parachain/moonsama.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
def run_moonsama(plan, args):
exec_command = [
"bin/sh",
"-c",
"/moonsama/moonsama-node --dev --tmp --ws-external --rpc-external --rpc-cors all --rpc-methods unsafe -- --execution wasm --chain /app/rococo-local.json",
]
plan.add_service(
name = "moonsama",
config = ServiceConfig(
image = "moonsama/moonsama-node:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
},
entrypoint = exec_command,
),
)
19 changes: 19 additions & 0 deletions parachain/subzero.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
def run_subzero(plan, args):
exec_command = [
"bin/sh",
"-c",
"/usr/local/bin/subzero --dev --tmp --ws-external --rpc-external --rpc-cors all --rpc-methods unsafe -- --execution wasm --chain /app/rococo-local.json",
]
plan.add_service(
name = "subzero",
config = ServiceConfig(
image = "playzero/subzero:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
},
entrypoint = exec_command,
),
)

0 comments on commit 01a6cd4

Please sign in to comment.