fix
This commit is contained in:
20
linea-besu.cfg
Normal file
20
linea-besu.cfg
Normal 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}"
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
besu-mainnet-node:
|
linea-besu-fullnode:
|
||||||
image: hyperledger/besu:latest
|
image: hyperledger/besu:latest
|
||||||
command: --config-file=/config/config-snap-mainnet.toml --genesis-file=/config/genesis-mainnet.json --p2p-host=${IP}
|
command: --config-file=/config/config-snap-mainnet.toml --genesis-file=/config/genesis-mainnet.json --p2p-host=${IP}
|
||||||
|
user: root
|
||||||
ports:
|
ports:
|
||||||
- 2483:2483
|
- 2483:2483
|
||||||
networks:
|
networks:
|
||||||
@@ -12,7 +13,23 @@ services:
|
|||||||
- linea-besu-fullnode:/db
|
- linea-besu-fullnode:/db
|
||||||
- ./linea/besu/config:/config
|
- ./linea/besu/config:/config
|
||||||
restart: unless-stopped
|
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:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.linea-besu-stripprefix.stripprefix.prefixes=/linea-besu"
|
- "traefik.http.middlewares.linea-besu-stripprefix.stripprefix.prefixes=/linea-besu"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ host-whitelist=["*"]
|
|||||||
rpc-http-enabled=true
|
rpc-http-enabled=true
|
||||||
rpc-http-host="0.0.0.0"
|
rpc-http-host="0.0.0.0"
|
||||||
rpc-http-port=8545
|
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-cors-origins=["all"]
|
||||||
rpc-http-max-active-connections=20000
|
rpc-http-max-active-connections=20000
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ rpc-http-max-active-connections=20000
|
|||||||
rpc-ws-enabled=true
|
rpc-ws-enabled=true
|
||||||
rpc-ws-api=["NET","ETH","WEB3"]
|
rpc-ws-api=["NET","ETH","WEB3"]
|
||||||
rpc-ws-host="0.0.0.0"
|
rpc-ws-host="0.0.0.0"
|
||||||
rpc-ws-port=8545
|
rpc-ws-port=8546
|
||||||
|
|
||||||
# graphql
|
# graphql
|
||||||
graphql-http-enabled=true
|
graphql-http-enabled=true
|
||||||
|
|||||||
20
reth-mainnet.cfg
Normal file
20
reth-mainnet.cfg
Normal 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}"
|
||||||
Reference in New Issue
Block a user