Skip to content

Commit 5c8b489

Browse files
authored
Update geth-entrypoint (#93)
Additng P2P_PORT
1 parent 8690d28 commit 5c8b489

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

geth-entrypoint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ WS_PORT="${WS_PORT:-8546}"
1111
AUTHRPC_PORT="${AUTHRPC_PORT:-8551}"
1212
METRICS_PORT="${METRICS_PORT:-6060}"
1313
HOST_IP="0.0.0.0"
14+
P2P_PORT="${P2P_PORT:-30303}"
1415
ADDITIONAL_ARGS=""
1516

1617
mkdir -p $GETH_DATA_DIR
@@ -63,4 +64,5 @@ exec ./geth \
6364
--nat=extip:$HOST_IP \
6465
--networkid="$CHAIN_ID" \
6566
--rollup.sequencerhttp="$OP_GETH_SEQUENCER_HTTP" \
67+
--port="$P2P_PORT" \
6668
$ADDITIONAL_ARGS # intentionally unquoted

0 commit comments

Comments
 (0)