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:
@@ -27,42 +28,32 @@ services:
- 10347:10347/udp
volumes:
- ${BERACHAIN_BEPOLIA_RETH_ARCHIVE_TRACE_DATA:-berachain-bepolia-reth-archive-trace}:/root/.local/share/reth
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
environment:
- BOOTNODES=enode://0c5a4a3c0e81fce2974e4d317d88df783731183d534325e32e0fdf8f4b119d7889fa254d3a38890606ec300d744e2aa9c87099a4a032f5c94efe53f3fcdfecfe@34.64.176.79:30303,enode://5b037f66099d5ded86eb7e1619f6d06ceb15609e8cc345ced22a4772b06178004e1490a3cd32fd1222789de4c6e4021c2d648a3d750f6d5323e64b771bbd8de7@34.87.142.180:30303,enode://bb7e44178543431feac8f0ee3827056b7b84d8235b802a8bdbbcd4939dab7f7dd2579ff577a38b002bb0139792af67abd2dd5c9f4f85b8da6e914fa76dca82bc@35.198.150.35:30303,enode://d071fa740e063ce1bb9cdc2b7937baeff6dc4000f91588d730a731c38a6ff0d4015814812c160fab8695e46f74b9b618735368ea2f16db4d785f16d29b3fb7b0@35.203.2.210:30303,enode://0c5a4a3c0e81fce2974e4d317d88df783731183d534325e32e0fdf8f4b119d7889fa254d3a38890606ec300d744e2aa9c87099a4a032f5c94efe53f3fcdfecfe@34.64.176.79:30303
entrypoint: [/bin/bash, -c, "trap 'exit 0' SIGTERM; while [ ! -f /config/eth-genesis.json ] && [ ! -f /tmp/stop ]; do sleep 1 & wait $!; done; exec reth node \"$@\"", --]
command:
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --chain=/config/eth-genesis.json
- --datadir=/root/.local/share/reth
- --port=10347
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.corsdomain=*
- --max-outbound-peers=50
- --max-inbound-peers=50
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --http.addr=0.0.0.0
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --rpc.max-logs-per-response=1100000
- --http.corsdomain=*
- --http.port=8545
- --max-inbound-peers=50
- --max-outbound-peers=50
- --nat=extip:${IP}
- --port=10347
- --rpc.gascap=600000000
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --chain=/config/eth-genesis.json
- --rpc.max-logs-per-response=1100000
- --ws
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --ws.origins=*
- --ws.port=8545
networks:
- chains
restart: unless-stopped
@@ -83,20 +74,20 @@ services:
- 15347:15347
- 15347:15347/udp
environment:
- AUTH_RPC=http://berachain-bepolia-archive:8551
- CHAINID=80069
- CHAINNAME=bepolia
- CHAIN_SPEC=testnet
- MONIKER=d${DOMAIN:-local}
- P2P_PORT=15347
- AUTH_RPC=http://berachain-bepolia-archive:8551
- CHAIN_SPEC=testnet
- CHAINNAME=bepolia
- CHAINID=80069
entrypoint: [sh, /init.sh]
networks:
- chains
volumes:
- ./berachain/scripts/init.sh:/init.sh
- ${BERACHAIN_BEPOLIA_RETH_ARCHIVE_TRACE__NODE_DATA:-berachain-bepolia-reth-archive-trace_node}:/root/.beacond/data
- ./berachain/bepolia:/root/.beacond/config
- ./berachain/scripts/init.sh:/init.sh
- .jwtsecret:/root/.beacond/config/jwt.hex:ro
restart: unless-stopped
volumes:
@@ -116,4 +107,5 @@ x-upstreams:
methods:
disabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes
- name: txpool_content # TODO: should be disabled for rollup nodes
...