renaming stuff
This commit is contained in:
@@ -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-geth \
|
||||
# -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-geth:
|
||||
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_MAINNET_GETH_VERSION:-v1.15.7}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
@@ -94,15 +94,15 @@ services:
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-mainnet
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-mainnet-geth
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-geth`) || Path(`/ethereum-mainnet-geth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Path(`/ethereum-mainnet-geth`) || Path(`/ethereum-mainnet-geth/`)}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.middlewares=ethereum-mainnet-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
ethereum-mainnet-node:
|
||||
ethereum-mainnet-geth-node:
|
||||
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_MAINNET_PRYSM_VERSION:-v6.0.0-rc.3}
|
||||
ports:
|
||||
- 17023:17023
|
||||
@@ -113,7 +113,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-geth:8551
|
||||
- --grpc-gateway-host=0.0.0.0
|
||||
- --jwt-secret=/jwtsecret
|
||||
- --mainnet
|
||||
@@ -125,7 +125,7 @@ services:
|
||||
- --rpc-host=0.0.0.0
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -137,12 +137,12 @@ services:
|
||||
- prometheus-scrape.port=8080
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-geth
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-mainnet/eth`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-geth/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-mainnet-geth/eth`)}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-node.middlewares=ethereum-mainnet-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user