Skip to content

Commit

Permalink
p2p port exposure
Browse files Browse the repository at this point in the history
  • Loading branch information
mateumiralles committed Apr 25, 2024
1 parent 41d92e2 commit 1cd53aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ services:
args:
UPSTREAM_VERSION: v1.101311.0
volumes:
- data:/data
- "data:/data"
restart: unless-stopped
environment:
- EXTRA_FLAGS
- P2P_PORT=33142
- P2P_PORT=30303
- SYNCMODE=snap
- HISTORICAL_RPC_URL=http://op-l2geth.dappnode:8545
- SEQUENCER_HTTP_URL=https://bedrock-beta-1-sequencer.optimism.io
image: geth.op-geth.dnp.dappnode.eth:0.1.0
- "HISTORICAL_RPC_URL=http://op-l2geth.dappnode:8545"
- "SEQUENCER_HTTP_URL=https://bedrock-beta-1-sequencer.optimism.io"
image: "geth.op-geth.dnp.dappnode.eth:0.1.1"
ports:
- 33142:33142/tcp
- 33142:33142/udp
- "33142:30303/tcp"
- "33142:30303/udp"
volumes:
data: {}
3 changes: 1 addition & 2 deletions op-geth/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ exec geth --datadir $DATA_DIR \
--authrpc.vhosts "*" \
--authrpc.jwtsecret /config/jwtsecret.hex \
--verbosity 3 \
--nodiscover \
--maxpeers 0 \
--syncmode=snap \
--port ${P2P_PORT} \
--networkid=10 \
${EXTRA_FLAGS}

0 comments on commit 1cd53aa

Please sign in to comment.