Skip to content

Commit 0ac3336

Browse files
author
Michael de Hoog
authored
Expose op-node P2P UDP port (#65)
* Expose op-node P2P UDP port Add docs * Also add UDP for 30303
1 parent 29af3ff commit 0ac3336

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docker-compose.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ services:
22
geth: # this is Optimism's geth client
33
build: .
44
ports:
5-
- 8545:8545
6-
- 8546:8546
7-
- 30303:30303
8-
- 7301:6060 # metrics
5+
- 8545:8545 # RPC
6+
- 8546:8546 # websocket
7+
- 30303:30303 # P2P TCP (currently unused)
8+
- 30303:30303/udp # P2P UDP (currently unused)
9+
- 7301:6060 # metrics
910
command: [ "sh", "./geth-entrypoint" ]
1011
env_file:
1112
- .env.goerli
@@ -14,10 +15,11 @@ services:
1415
depends_on:
1516
- geth
1617
ports:
17-
- 7545:8545
18-
- 9222:9222
19-
- 7300:7300 # metrics
20-
- 6060:6060
18+
- 7545:8545 # RPC
19+
- 9222:9222 # P2P TCP
20+
- 9222:9222/udp # P2P UDP
21+
- 7300:7300 # metrics
22+
- 6060:6060 # pprof
2123
command: [ "sh", "./op-node-entrypoint" ]
2224
env_file:
2325
- .env.goerli

0 commit comments

Comments
 (0)