@@ -73,36 +73,55 @@ services:
7373 exit 0;
7474 "
7575
76- node-reth :
77- build :
78- context : ${NODE_RETH_LOCAL_PATH:-.}
79- dockerfile : ${NODE_RETH_DOCKERFILE:-Dockerfile.node-reth}
80- args :
81- NODE_RETH_REF : ${NODE_RETH_REF:-tips}
76+ # Ethereum Nodes in TIPS
77+ # ======================
78+ #
79+ # ┌─────────────────────┬──────────────────────────────────┬─────────────────────────────────────┐
80+ # │ Component │ Production │ Local Development │
81+ # ├─────────────────────┼──────────────────────────────────┼─────────────────────────────────────┤
82+ # │ Sequencer │ │ │
83+ # │ - Consensus Layer │ "consensus" container running │ builder-playground op-node │
84+ # │ │ op-node │ (runs separately within Docker) │
85+ # │ - Execution Layer │ "execution" container running │ builder-playground op-geth │
86+ # │ │ base/node-reth │ (runs separately within Docker) │
87+ # │ - Builder │ "builder" container running │ op-rbuilder │
88+ # │ │ op-rbuilder │ (runs on host machine) │
89+ # ├─────────────────────┼──────────────────────────────────┼─────────────────────────────────────┤
90+ # │ RPC Node │ │ │
91+ # │ - Consensus Layer │ "consensus" container running │ node-reth-consensus (container) │
92+ # │ │ op-node │ │
93+ # │ - Execution Layer │ "execution" container running │ node-reth-execution (container) │
94+ # │ │ base/node-reth │ │
95+ # ├─────────────────────┼──────────────────────────────────┼─────────────────────────────────────┤
96+ # │ L1 Dependencies │ Externally hosted L1 node │ builder-playground el + beacon │
97+ # │ │ │ (el: 8545, beacon: 3500) │
98+ # └─────────────────────┴──────────────────────────────────┴─────────────────────────────────────┘
99+
100+ node-reth-execution :
82101 image : node-reth:latest
83- container_name : tips-node-reth
84- ports :
85- - " 2222:8545"
86- - " 2223:8546"
87- - " 1115:1115"
88- - " 30303:30303"
102+ container_name : tips-node-reth-execution
89103 volumes :
90- - ./data/node-reth:/data
91- command : >
92- node
93- --datadir /data
94- --chain base-sepolia
95- --http
96- --http.addr 0.0.0.0
97- --http.port 8545
98- --http.api eth,net,web3,txpool,base
99- --ws
100- --ws.addr 0.0.0.0
101- --ws.port 8546
102- --ws.api eth,net,web3,txpool,base
104+ - ~/.playground/devnet/jwtsecret:/data/jwtsecret:ro
105+ - ~/.playground/devnet/rollup.json:/data/rollup.json:ro
106+ - ~/.playground/devnet:/playground
107+ command : ["node", "--datadir", "/playground/tips-node-reth"]
103108 restart : unless-stopped
104109 healthcheck :
105110 test : ["CMD-SHELL", "curl -sf http://localhost:8545 -X POST -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}' || exit 1"]
106111 interval : 10s
107112 timeout : 5s
108- retries : 10
113+ retries : 10
114+
115+ node-reth-consensus :
116+ image : us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.13.7
117+ container_name : tips-node-reth-consensus
118+ depends_on :
119+ node-reth-execution :
120+ condition : service_healthy
121+ volumes :
122+ - ~/.playground/devnet/jwtsecret:/data/jwtsecret:ro
123+ - ~/.playground/devnet/rollup.json:/data/rollup.json:ro
124+ env_file :
125+ - .env.docker
126+ environment :
127+ OP_NODE_L2_ENGINE_RPC : http://node-reth-execution:8551
0 commit comments