diff --git a/geth-poa/entrypoint.sh b/geth-poa/entrypoint.sh index 2ca0d81a830a..6db65b522212 100644 --- a/geth-poa/entrypoint.sh +++ b/geth-poa/entrypoint.sh @@ -1,9 +1,9 @@ #!/bin/sh set -exu -GENESIS_L1_PATH="/genesis.json" +GENESIS_L1_PATH=${GENESIS_L1_PATH:-/genesis.json} VERBOSITY=3 -GETH_DATA_DIR=/data +GETH_DATA_DIR=${GETH_DATA_DIR:-/data} GETH_CHAINDATA_DIR="$GETH_DATA_DIR/geth/chaindata" GETH_KEYSTORE_DIR="$GETH_DATA_DIR/keystore" CHAIN_ID=$(cat "$GENESIS_L1_PATH" | jq -r .config.chainId)