now with prometheus. hopefully

This commit is contained in:
Para Dox
2025-05-18 13:11:00 +07:00
parent f2855d3a2c
commit 98abb33fc8
289 changed files with 2735 additions and 1021 deletions

View File

@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services:
ethereum-mainnet-archive:
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.3.12}
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.4.1}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -51,6 +51,7 @@ services:
- 14563:14563/udp
expose:
- 8545
- 9001
- 8551
entrypoint: [reth, node]
command:
@@ -60,6 +61,9 @@ services:
- --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096}
- --max-inbound-peers=50
- --max-outbound-peers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=9001
- --nat=extip:${IP}
- --port=14563
- --rpc-cache.max-blocks=10000
@@ -90,6 +94,9 @@ services:
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive
- traefik.http.services.ethereum-mainnet-reth-archive-trace.loadbalancer.server.port=8545
@@ -110,6 +117,8 @@ services:
command:
- --history=prune
- --jwt-secret=/jwtsecret
- --metrics-host=0.0.0.0
- --metrics-port=8008
- --nat=extip:${IP}
- --network=mainnet
- --rest
@@ -128,6 +137,9 @@ services:
- .jwtsecret:/jwtsecret:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=8008
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive
- traefik.http.services.ethereum-mainnet-reth-archive-trace-node.loadbalancer.server.port=3500