maybe no initialisation needed?
This commit is contained in:
@@ -4,14 +4,14 @@
|
|||||||
echo "Starting initialization steps..."
|
echo "Starting initialization steps..."
|
||||||
|
|
||||||
# Check if the genesis.json file exists; if not, initialize and copy it
|
# Check if the genesis.json file exists; if not, initialize and copy it
|
||||||
if [ ! -f /goat/config/genesis.json ]; then
|
# if [ ! -f /goat/config/genesis.json ]; then
|
||||||
echo "Initializing goatd..."
|
# echo "Initializing goatd..."
|
||||||
exec goatd init --home /goat mainnet
|
# exec goatd init --home /goat mainnet
|
||||||
echo "Copying genesis file..."
|
# echo "Copying genesis file..."
|
||||||
cp /genesis/goat.json /goat/config/genesis.json
|
# cp /genesis/goat.json /goat/config/genesis.json
|
||||||
else
|
# else
|
||||||
echo "Genesis file already exists; skipping initialization."
|
# echo "Genesis file already exists; skipping initialization."
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Pass control to the final command specified in docker-compose.yml
|
# Pass control to the final command specified in docker-compose.yml
|
||||||
exec goatd start --home /goat --chain-id=goat-mainnet --goat.geth /geth/geth.ipc --api.enable --api.address=tcp://0.0.0.0:1317 --p2p.external-address $IP:40258 --p2p.laddr 0.0.0.0:40258
|
exec goatd start --home /goat --chain-id=goat-mainnet --goat.geth /geth/geth.ipc --api.enable --api.address=tcp://0.0.0.0:1317 --p2p.external-address $IP:40258 --p2p.laddr 0.0.0.0:40258
|
||||||
|
|||||||
Reference in New Issue
Block a user