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

@@ -33,7 +33,7 @@ x-logging-defaults: &logging-defaults
services:
ethereum-mainnet-minimal:
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
@@ -54,6 +54,7 @@ services:
- 14286:14286/udp
expose:
- 8545
- 9001
- 8551
entrypoint: [reth, node]
command:
@@ -64,6 +65,9 @@ services:
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=9001
- --nat=extip:${IP}
- --port=14286
- --rpc-cache.max-blocks=10000
@@ -94,6 +98,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-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-minimal
- traefik.http.services.ethereum-mainnet-reth-minimal-trace.loadbalancer.server.port=8545
@@ -124,6 +131,8 @@ services:
volumes:
- .jwtsecret:/jwtsecret:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=false
ethereum-mainnet-minimal-pruner:
image: debian:latest