Skip to content

Commit

Permalink
Merge pull request #147 from Chomtana/main
Browse files Browse the repository at this point in the history
Expose op-node port for debugability
  • Loading branch information
Chomtana authored Jun 4, 2024
2 parents 831456a + 91481e1 commit 7eb1269
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ PORT__OP_GETH_HTTP=
PORT__OP_GETH_WS=
PORT__OP_GETH_P2P=
PORT__OP_NODE_P2P=
PORT__OP_NODE_HTTP=
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ A simple docker compose script for launching full / archive node for OP Stack ch

## Recommended Hardware

### OP and Base Mainnet

- 16GB+ RAM
- 2 TB SSD (NVME Recommended)
- 100mb/s+ Download

### Testnets

- 16GB+ RAM
- 2TB SSD (NVME Recommended)
- 500 GB SSD (NVME Recommended)
- 100mb/s+ Download

## Installation and Configuration
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
ports:
- ${PORT__OP_NODE_P2P:-9003}:9003/udp
- ${PORT__OP_NODE_P2P:-9003}:9003/tcp
- ${PORT__OP_NODE_HTTP:-9545}:9545
extra_hosts:
- "host.docker.internal:host-gateway"

Expand Down
2 changes: 1 addition & 1 deletion scripts/start-op-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi
exec op-node \
--l1=$OP_NODE__RPC_ENDPOINT \
--l2=http://op-geth:8551 \
--rpc.addr=127.0.0.1 \
--rpc.addr=0.0.0.0 \
--rpc.port=9545 \
--l2.jwt-secret=/shared/jwt.txt \
--l1.trustrpc \
Expand Down

0 comments on commit 7eb1269

Please sign in to comment.