From 5c74d573c7775ee6934e8583a246ad72494dd6e0 Mon Sep 17 00:00:00 2001 From: Chomtana Date: Wed, 5 Jun 2024 00:55:29 +0700 Subject: [PATCH 1/2] Expose op-node port for debugability --- .env.example | 1 + docker-compose.yml | 1 + scripts/start-op-node.sh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 14a4b2f..75bdf78 100644 --- a/.env.example +++ b/.env.example @@ -64,3 +64,4 @@ PORT__OP_GETH_HTTP= PORT__OP_GETH_WS= PORT__OP_GETH_P2P= PORT__OP_NODE_P2P= +PORT__OP_NODE_HTTP= diff --git a/docker-compose.yml b/docker-compose.yml index abb96c5..04fb43f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/scripts/start-op-node.sh b/scripts/start-op-node.sh index 1b676fa..fa9b0e5 100755 --- a/scripts/start-op-node.sh +++ b/scripts/start-op-node.sh @@ -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 \ From 91481e144f8d43350542bdde9006aab14abd2e48 Mon Sep 17 00:00:00 2001 From: Chomtana Date: Wed, 5 Jun 2024 00:56:39 +0700 Subject: [PATCH 2/2] Update specs --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a36ead..a6d1eec 100644 --- a/README.md +++ b/README.md @@ -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