This commit is contained in:
Sebastian
2024-05-17 07:29:55 +02:00
parent 05f03ed192
commit c58177e230
4 changed files with 61 additions and 4 deletions

20
linea-besu.cfg Normal file
View File

@@ -0,0 +1,20 @@
- id: ${ID}
chain: ${CHAIN}
labels:
provider: ${PROVIDER}
method-groups:
enabled:
- debug
- filter
- trace
methods:
enabled:
- name: txpool_content
connection:
generic:
rpc:
url: "${RPC_URL}"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "${WS_URL}"

View File

@@ -1,9 +1,10 @@
services:
besu-mainnet-node:
linea-besu-fullnode:
image: hyperledger/besu:latest
command: --config-file=/config/config-snap-mainnet.toml --genesis-file=/config/genesis-mainnet.json --p2p-host=${IP}
user: root
ports:
- 2483:2483
networks:
@@ -12,7 +13,23 @@ services:
- linea-besu-fullnode:/db
- ./linea/besu/config:/config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
linea-besu-fullnode-proxy:
restart: unless-stopped
image: nginx
depends_on:
- mantle-fullnode
expose:
- 80
environment:
PROXY_HOST: linea-besu-fullnode
RPC_PORT: 8545
WS_PORT: 8546
networks:
- chains
volumes:
- ./nginx-proxy:/etc/nginx/templates
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.linea-besu-stripprefix.stripprefix.prefixes=/linea-besu"

View File

@@ -25,7 +25,7 @@ host-whitelist=["*"]
rpc-http-enabled=true
rpc-http-host="0.0.0.0"
rpc-http-port=8545
rpc-http-api=["ADMIN","NET","ETH","WEB3","TXPOOL","DEBUG","TRACE"]
rpc-http-api=["NET","ETH","WEB3","TXPOOL","DEBUG","TRACE"]
rpc-http-cors-origins=["all"]
rpc-http-max-active-connections=20000
@@ -34,7 +34,7 @@ rpc-http-max-active-connections=20000
rpc-ws-enabled=true
rpc-ws-api=["NET","ETH","WEB3"]
rpc-ws-host="0.0.0.0"
rpc-ws-port=8545
rpc-ws-port=8546
# graphql
graphql-http-enabled=true

20
reth-mainnet.cfg Normal file
View File

@@ -0,0 +1,20 @@
- id: ${ID}
chain: ${CHAIN}
labels:
provider: ${PROVIDER}
method-groups:
enabled:
- debug
- filter
- trace
methods:
enabled:
- name: txpool_content
connection:
generic:
rpc:
url: "${RPC_URL}"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "${WS_URL}"