This commit is contained in:
goldsquid
2025-11-10 12:15:38 +07:00
parent 566df06116
commit 4a1e72152c
3 changed files with 7 additions and 15 deletions

View File

@@ -79,7 +79,7 @@ services:
command: command:
- --chain=bsc - --chain=bsc
- --datadir=/root/.local/share/reth - --datadir=/root/.local/share/reth
- --db.max-size=7TB - --db.max-size=8TB
- --discovery.port=13454 - --discovery.port=13454
- --engine.cross-block-cache-size=${BSC_MAINNET_RETH_STATE_CACHE:-4096} - --engine.cross-block-cache-size=${BSC_MAINNET_RETH_STATE_CACHE:-4096}
- --engine.memory-block-buffer-target=128 - --engine.memory-block-buffer-target=128

View File

@@ -47,9 +47,6 @@ services:
ulimits: ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports:
- 14389:14389
- 14389:14389/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
@@ -68,13 +65,12 @@ services:
- --metrics - --metrics
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nodiscover
- --port=14389
- --rollup.enabletxpooladmission - --rollup.enabletxpooladmission
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=path - --state.scheme=path
- --syncmode=snap - --syncmode=full
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,debug,admin,txpool,engine - --http.api=eth,net,web3,debug,admin,txpool,engine
@@ -142,7 +138,7 @@ services:
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=8545 - OP_NODE_RPC_PORT=8545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log - OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=execution-layer - OP_NODE_SYNCMODE=consensus-layer
- OP_NODE_VERIFIER_L1_CONFS=0 - OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [/app/op-node/bin/op-node] entrypoint: [/app/op-node/bin/op-node]
restart: unless-stopped restart: unless-stopped

View File

@@ -47,9 +47,6 @@ services:
ulimits: ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports:
- 13528:13528
- 13528:13528/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
@@ -68,13 +65,12 @@ services:
- --metrics - --metrics
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nodiscover
- --port=13528
- --rollup.enabletxpooladmission - --rollup.enabletxpooladmission
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=path - --state.scheme=path
- --syncmode=snap - --syncmode=full
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,debug,admin,txpool,engine - --http.api=eth,net,web3,debug,admin,txpool,engine
@@ -142,7 +138,7 @@ services:
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=8545 - OP_NODE_RPC_PORT=8545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log - OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=execution-layer - OP_NODE_SYNCMODE=consensus-layer
- OP_NODE_VERIFIER_L1_CONFS=0 - OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [/app/op-node/bin/op-node] entrypoint: [/app/op-node/bin/op-node]
restart: unless-stopped restart: unless-stopped