cardano-docker/examples/best-practice/mc4-block-producing.sh
2021-02-13 10:19:38 -05:00

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