Skip to content

Commit 4fc3d46

Browse files
committed
Pass CLI args to node-reth that are equivalent to op-rbuilder's --builder.playground flag
1 parent 2d310f6 commit 4fc3d46

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docker-compose.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,30 @@ services:
103103
volumes:
104104
- ~/.playground/devnet/jwtsecret:/data/jwtsecret:ro
105105
- ~/.playground/devnet/rollup.json:/data/rollup.json:ro
106+
- ~/.playground/devnet/l2-genesis.json:/data/l2-genesis.json:ro
106107
- ~/.playground/devnet:/playground
107-
command: ["node", "--datadir", "/playground/tips-node-reth"]
108+
command:
109+
- node
110+
- --datadir
111+
- /playground/tips-node-reth
112+
- --chain
113+
- /data/l2-genesis.json
114+
- --http
115+
- --http.addr
116+
- 0.0.0.0
117+
- --http.port
118+
- "8545"
119+
- --authrpc.addr
120+
- 0.0.0.0
121+
- --authrpc.port
122+
- "8551"
123+
- --authrpc.jwtsecret
124+
- /data/jwtsecret
125+
- --disable-discovery
126+
env_file:
127+
- .env.docker
128+
environment:
129+
PLAYGROUND_DIR: /playground
108130
restart: unless-stopped
109131
healthcheck:
110132
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"]

0 commit comments

Comments
 (0)