14 lines
411 B
Bash
14 lines
411 B
Bash
#!/bin/bash
|
|
|
|
docker network create -d bridge cardano
|
|
|
|
docker run -it --rm \
|
|
--name mc4-block-producing \
|
|
--network=cardano \
|
|
-e CARDANO_NETWORK="mc4" \
|
|
-e HOST_ADDR="0.0.0.0" \
|
|
-e NODE_PORT="3000" \
|
|
-e NODE_NAME="block-producing" \
|
|
-e NODE_TOPOLOGY="<IP-address of relay node>:3001/1" \
|
|
-v $PWD/config/:/config/ \
|
|
arradev/cardano-node:latest --cold-register --start --staking |