renaming stuff
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-archive \
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth \
|
||||
# -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-archive:
|
||||
ethereum-mainnet-reth:
|
||||
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.4.1}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
@@ -96,16 +96,16 @@ services:
|
||||
- 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.middlewares.ethereum-mainnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth
|
||||
- traefik.http.services.ethereum-mainnet-reth-archive-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-archive`) || Path(`/ethereum-mainnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Path(`/ethereum-mainnet-archive`) || Path(`/ethereum-mainnet-archive/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-reth`) || Path(`/ethereum-mainnet-reth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Path(`/ethereum-mainnet-reth`) || Path(`/ethereum-mainnet-reth/`)}
|
||||
- traefik.http.routers.ethereum-mainnet-reth-archive-trace.middlewares=ethereum-mainnet-reth-archive-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
ethereum-mainnet-archive-node:
|
||||
ethereum-mainnet-reth-node:
|
||||
image: ${ETHEREUM_LIGHTHOUSE_IMAGE:-sigp/lighthouse}:${ETHEREUM_MAINNET_LIGHTHOUSE_VERSION:-v7.0.1}
|
||||
ports:
|
||||
- 19563:19563
|
||||
@@ -117,7 +117,7 @@ services:
|
||||
- --disable-backfill-rate-limiting
|
||||
- --disable-log-timestamp
|
||||
- --disable-upnp
|
||||
- --execution-endpoint=http://ethereum-mainnet-archive:8551
|
||||
- --execution-endpoint=http://ethereum-mainnet-reth:8551
|
||||
- --execution-jwt=/jwtsecret
|
||||
- --genesis-backfill
|
||||
- --http
|
||||
@@ -132,7 +132,7 @@ services:
|
||||
- --validator-monitor-auto
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet-archive
|
||||
- ethereum-mainnet-reth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -146,12 +146,12 @@ services:
|
||||
- prometheus-scrape.port=5054
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive
|
||||
- traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-reth
|
||||
- traefik.http.services.ethereum-mainnet-reth-archive-trace-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.rule=PathPrefix(`/ethereum-mainnet-archive/eth`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-reth/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.rule=PathPrefix(`/ethereum-mainnet-reth/eth`)}
|
||||
- traefik.http.routers.ethereum-mainnet-reth-archive-trace-node.middlewares=ethereum-mainnet-reth-archive-trace-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user