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=mode-mainnet
- --datadir=/root/.local/share/erigon
- --maxpeers=50
- --nat=extip:${IP}
- --networkid=34443
- --p2p.allowed-ports=32509
- --p2p.allowed-ports=37509
- --port=12509
- --rollup.sequencerhttp=https://mainnet.mode.network
- --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=mode-mainnet
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=17509
- OP_NODE_P2P_LISTEN_UDP_PORT=17509
- 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