This commit is contained in:
Para Dox
2025-04-14 13:52:46 +07:00
parent f5c4c0507a
commit 1c5b0c2f0f
42 changed files with 156 additions and 120 deletions

View File

@@ -28,15 +28,16 @@ services:
expose:
- 8545
- 8551
entrypoint: [erigon]
entrypoint: [/bin/sh, -c, '[ ! -f /root/.local/share/erigon/chaindata/mdbx.dat ] && erigon init --datadir=/root/.local/share/erigon /config/genesis.json; exec erigon "$@"']
command:
- --chain=bob-mainnet
- --datadir=/root/.local/share/erigon
- --maxpeers=50
- --nat=extip:${IP}
- --networkid=60808
- --p2p.allowed-ports=31071
- --p2p.allowed-ports=36071
- --port=11071
- --rollup.sequencerhttp=https://bob-mainnet.public.blastapi.io
- --rpc.gascap=6000000000
- --rpc.returndata.limit=1100000
- --http
@@ -85,11 +86,11 @@ services:
- OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=bob-mainnet
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=16071
- OP_NODE_P2P_LISTEN_UDP_PORT=16071
- OP_NODE_ROLLUP_CONFIG=/config/rollup.json
- OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=8545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log