This commit is contained in:
Para Dox
2025-04-12 12:57:50 +07:00
parent b3c69ea511
commit c241595dfd
206 changed files with 4708 additions and 5973 deletions

View File

@@ -1,3 +1,4 @@
---
# use at your own risk
services:
@@ -31,39 +32,29 @@ services:
- 35092:35092/udp
volumes:
- ${BASE_MAINNET_OP_ERIGON_ARCHIVE_TRACE_DATA:-base-mainnet-op-erigon-archive-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
entrypoint: [erigon]
command:
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --authrpc.vhosts=*
- --chain=base-mainnet
- --datadir=/root/.local/share/erigon
- --port=10092
- --nat=extip:${IP}
- --http
- --http.addr=0.0.0.0
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin,engine
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --ws
- --ws.port=8545
- --http.addr=0.0.0.0
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin,engine
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --authrpc.addr=0.0.0.0
- --authrpc.vhosts=*
- --authrpc.jwtsecret=/jwtsecret
- --nat=extip:${IP}
- --p2p.allowed-ports=30092
- --p2p.allowed-ports=35092
- --chain=base-mainnet
- --port=10092
- --rpc.gascap=6000000000
- --rpc.returndata.limit=1100000
- --ws
- --ws.port=8545
networks:
- chains
restart: unless-stopped
@@ -84,26 +75,26 @@ services:
- 15092:15092
- 15092:15092/udp
environment:
- OP_NODE_NETWORK=base-mainnet
- OP_NODE_L1_ETH_RPC=${ETHEREUM_MAINNET_EXECUTION_RPC}
- OP_NODE_L2_ENGINE_RPC=http://base-mainnet-archive:8551
- OP_NODE_P2P_LISTEN_TCP_PORT=15092
- OP_NODE_P2P_LISTEN_UDP_PORT=15092
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-basic}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
- OP_NODE_SYNCMODE=execution-layer
- OP_NODE_L1_ETH_RPC=${ETHEREUM_MAINNET_EXECUTION_RPC}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-basic}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_RPC=http://base-mainnet-archive:8551
- OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=base-mainnet
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=15092
- OP_NODE_P2P_LISTEN_UDP_PORT=15092
- OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=8545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=execution-layer
- OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [op-node]
networks:
@@ -111,7 +102,6 @@ services:
volumes:
- .jwtsecret:/jwtsecret:ro
restart: unless-stopped
volumes:
base-mainnet-op-erigon-archive-trace:
@@ -152,3 +142,5 @@ x-upstreams:
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs
...