Commit b5ef081a authored by Adrian Sutton's avatar Adrian Sutton

ops-bedrock: Update geth and op-geth used in local devnet

Also exposes geth metrics for l1 and l2
parent 377e7823
FROM ethereum/client-go:v1.10.22 FROM ethereum/client-go:v1.11.2
RUN apk add --no-cache jq RUN apk add --no-cache jq
......
FROM ethereumoptimism/op-geth:optimism-history FROM ethereumoptimism/op-geth:optimism
RUN apk add --no-cache jq RUN apk add --no-cache jq
......
...@@ -17,6 +17,7 @@ services: ...@@ -17,6 +17,7 @@ services:
dockerfile: Dockerfile.l1 dockerfile: Dockerfile.l1
ports: ports:
- "8545:8545" - "8545:8545"
- "7060:6060"
volumes: volumes:
- "l1_data:/db" - "l1_data:/db"
- "${PWD}/../.devnet/genesis-l1.json:/genesis.json" - "${PWD}/../.devnet/genesis-l1.json:/genesis.json"
...@@ -28,6 +29,7 @@ services: ...@@ -28,6 +29,7 @@ services:
dockerfile: Dockerfile.l2 dockerfile: Dockerfile.l2
ports: ports:
- "9545:8545" - "9545:8545"
- "8060:6060"
volumes: volumes:
- "l2_data:/db" - "l2_data:/db"
- "${PWD}/../.devnet/genesis-l2.json:/genesis.json" - "${PWD}/../.devnet/genesis-l2.json:/genesis.json"
......
...@@ -65,4 +65,7 @@ exec geth \ ...@@ -65,4 +65,7 @@ exec geth \
--authrpc.vhosts="*" \ --authrpc.vhosts="*" \
--authrpc.jwtsecret=/config/jwt-secret.txt \ --authrpc.jwtsecret=/config/jwt-secret.txt \
--gcmode=archive \ --gcmode=archive \
--metrics \
--metrics.addr=0.0.0.0 \
--metrics.port=6060 \
"$@" "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment