17 lines
537 B
Bash
17 lines
537 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
docker network create -d bridge cardano
|
||
|
docker run -it --rm \
|
||
|
--name main-registration \
|
||
|
--network=cardano \
|
||
|
-e NODE_PORT="3000" \
|
||
|
-e NODE_NAME="registration" \
|
||
|
-e NODE_TOPOLOGY="<IP-address of relay1 node>:3000/1" \
|
||
|
-e CARDANO_NETWORK="main" \
|
||
|
-e CREATE_STAKEPOOL="True" \
|
||
|
-e POOL_PLEDGE="100000000000" \
|
||
|
-e POOL_COST="340000000" \
|
||
|
-e POOL_MARGIN="0.05" \
|
||
|
-e METADATA_URL="<URL of metadata.json>" \
|
||
|
-v $PWD/config/:/config/ \
|
||
|
arradev/cardano-node:latest --start --staking
|