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

@@ -19,7 +19,7 @@
#
# docker compose up -d
#
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet \
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth-pruned \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults
@@ -29,7 +29,7 @@ x-logging-defaults: &logging-defaults
max-file: '3'
services:
ethereum-mainnet:
ethereum-mainnet-reth-pruned:
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.4.1}
sysctls:
# TCP Performance
@@ -97,16 +97,16 @@ services:
- prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth-pruned
- traefik.http.services.ethereum-mainnet-reth-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`)}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-reth-pruned`) || Path(`/ethereum-mainnet-reth-pruned/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Path(`/ethereum-mainnet-reth-pruned`) || Path(`/ethereum-mainnet-reth-pruned/`)}
- traefik.http.routers.ethereum-mainnet-reth-pruned-trace.middlewares=ethereum-mainnet-reth-pruned-trace-stripprefix, ipallowlist
shm_size: 2gb
ethereum-mainnet-node:
ethereum-mainnet-reth-pruned-node:
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_MAINNET_PRYSM_VERSION:-v6.0.0-rc.3}
ports:
- 15150:15150
@@ -117,7 +117,7 @@ services:
- --checkpoint-sync-url=https://mainnet.beaconstate.info
- --datadir=/data
- --enable-historical-state-representation=false
- --execution-endpoint=http://ethereum-mainnet:8551
- --execution-endpoint=http://ethereum-mainnet-reth-pruned:8551
- --grpc-gateway-host=0.0.0.0
- --jwt-secret=/jwtsecret
- --mainnet
@@ -129,7 +129,7 @@ services:
- --rpc-host=0.0.0.0
restart: unless-stopped
depends_on:
- ethereum-mainnet
- ethereum-mainnet-reth-pruned
networks:
- chains
volumes:
@@ -141,12 +141,12 @@ services:
- prometheus-scrape.port=8080
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth-pruned
- traefik.http.services.ethereum-mainnet-reth-pruned-trace-node.loadbalancer.server.port=3500
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=PathPrefix(`/ethereum-mainnet/eth`)}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-reth-pruned/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=PathPrefix(`/ethereum-mainnet-reth-pruned/eth`)}
- traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.middlewares=ethereum-mainnet-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: