renaming stuff

This commit is contained in:
Para Dox
2025-05-19 13:05:42 +07:00
parent 5a1c0bf495
commit 6e477bd5f0
125 changed files with 933 additions and 930 deletions

View File

@@ -22,7 +22,7 @@
#
# docker compose up -d
#
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-minimal \
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth-minimal \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults
@@ -32,7 +32,7 @@ x-logging-defaults: &logging-defaults
max-file: '3'
services:
ethereum-mainnet-minimal:
ethereum-mainnet-reth-minimal:
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.4.1}
sysctls:
# TCP Performance
@@ -100,16 +100,16 @@ services:
- 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.middlewares.ethereum-mainnet-reth-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth-minimal
- traefik.http.services.ethereum-mainnet-reth-minimal-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-minimal`) || Path(`/ethereum-mainnet-minimal/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-minimal-trace.rule=Path(`/ethereum-mainnet-minimal`) || Path(`/ethereum-mainnet-minimal/`)}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-reth-minimal`) || Path(`/ethereum-mainnet-reth-minimal/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-minimal-trace.rule=Path(`/ethereum-mainnet-reth-minimal`) || Path(`/ethereum-mainnet-reth-minimal/`)}
- traefik.http.routers.ethereum-mainnet-reth-minimal-trace.middlewares=ethereum-mainnet-reth-minimal-trace-stripprefix, ipallowlist
shm_size: 2gb
ethereum-mainnet-minimal-node:
ethereum-mainnet-reth-minimal-node:
image: ${ETHEREUM_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_MAINNET_NIMBUS_VERSION:-amd64-v25.4.1}
user: root
ports:
@@ -128,10 +128,10 @@ services:
- --rest-port=3500
- --tcp-port=19286
- --udp-port=19286
- --web3-url=http://ethereum-mainnet-minimal:8551
- --web3-url=http://ethereum-mainnet-reth-minimal:8551
restart: unless-stopped
depends_on:
- ethereum-mainnet-minimal
- ethereum-mainnet-reth-minimal
networks:
- chains
volumes:
@@ -143,15 +143,15 @@ services:
- prometheus-scrape.port=8008
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-minimal-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-minimal
- traefik.http.middlewares.ethereum-mainnet-reth-minimal-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth-minimal
- traefik.http.services.ethereum-mainnet-reth-minimal-trace-node.loadbalancer.server.port=3500
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-minimal/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.rule=PathPrefix(`/ethereum-mainnet-minimal/eth`)}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-reth-minimal/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.rule=PathPrefix(`/ethereum-mainnet-reth-minimal/eth`)}
- traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.middlewares=ethereum-mainnet-reth-minimal-trace-node-stripprefix, ipallowlist
ethereum-mainnet-minimal-pruner:
ethereum-mainnet-reth-minimal-pruner:
image: debian:latest
entrypoint: [/scripts/prune-reth.sh]
restart: no