renaming stuff
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-holesky \
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-holesky-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-holesky:
|
||||
ethereum-holesky-geth:
|
||||
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_HOLESKY_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-holesky-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-holesky
|
||||
- traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-holesky-geth
|
||||
- traefik.http.services.ethereum-holesky-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-holesky`) || Path(`/ethereum-holesky/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Path(`/ethereum-holesky`) || Path(`/ethereum-holesky/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-holesky-geth`) || Path(`/ethereum-holesky-geth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Path(`/ethereum-holesky-geth`) || Path(`/ethereum-holesky-geth/`)}
|
||||
- traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.middlewares=ethereum-holesky-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
ethereum-holesky-node:
|
||||
ethereum-holesky-geth-node:
|
||||
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_HOLESKY_PRYSM_VERSION:-v6.0.0-rc.3}
|
||||
ports:
|
||||
- 16993:16993
|
||||
@@ -113,7 +113,7 @@ services:
|
||||
- --checkpoint-sync-url=https://holesky.beaconstate.info
|
||||
- --datadir=/data
|
||||
- --enable-historical-state-representation=false
|
||||
- --execution-endpoint=http://ethereum-holesky:8551
|
||||
- --execution-endpoint=http://ethereum-holesky-geth:8551
|
||||
- --grpc-gateway-host=0.0.0.0
|
||||
- --holesky
|
||||
- --jwt-secret=/jwtsecret
|
||||
@@ -125,7 +125,7 @@ services:
|
||||
- --rpc-host=0.0.0.0
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-holesky
|
||||
- ethereum-holesky-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -137,12 +137,12 @@ services:
|
||||
- prometheus-scrape.port=8080
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-holesky
|
||||
- traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-holesky-geth
|
||||
- traefik.http.services.ethereum-holesky-geth-pruned-pebble-path-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-holesky/eth`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-geth/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-holesky-geth/eth`)}
|
||||
- traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path-node.middlewares=ethereum-holesky-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -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_FIREETH_IMAGE:-ghcr.io/streamingfast/firehose-ethereum}:${ETHEREUM_MAINNET_FIREETH_VERSION:-}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
@@ -96,15 +96,15 @@ services:
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-leveldb-hash-stripprefix.stripprefix.prefixes=/ethereum-mainnet
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-leveldb-hash-stripprefix.stripprefix.prefixes=/ethereum-mainnet-geth
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.rule=Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet-geth`) || Path(`/ethereum-mainnet-geth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.rule=Path(`/ethereum-mainnet-geth`) || Path(`/ethereum-mainnet-geth/`)}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash.middlewares=ethereum-mainnet-geth-pruned-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
ethereum-mainnet-firehose:
|
||||
ethereum-mainnet-geth-firehose:
|
||||
image: ${ETHEREUM_FIREETH_IMAGE:-ghcr.io/streamingfast/firehose-ethereum}:${ETHEREUM_MAINNET_FIREETH_VERSION:-}
|
||||
expose:
|
||||
- 10015
|
||||
@@ -114,10 +114,10 @@ services:
|
||||
entrypoint: [sh, -c, exec fireeth start firehose index-builder relayer merger $@, _]
|
||||
command:
|
||||
- --log-to-file=false
|
||||
- --relayer-source=http://ethereum-mainnet:10455
|
||||
- --relayer-source=http://ethereum-mainnet-geth:10455
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -131,21 +131,21 @@ services:
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.loadbalancer.server.port=10015
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.entrypoints=grpc
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.tls.certresolver=myresolver}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.rule=Host(`ethereum-mainnet-firehose.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.rule=Host(`ethereum-mainnet-geth-firehose.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-firehose.middlewares=ipallowlist
|
||||
|
||||
ethereum-mainnet-events:
|
||||
ethereum-mainnet-geth-events:
|
||||
image: ${ETHEREUM_FIREETH_IMAGE:-ethereum/client-go}:${ETHEREUM_MAINNET_FIREETH_VERSION:-v1.15.7}
|
||||
expose:
|
||||
- 10016
|
||||
entrypoint: [sh, -c, exec fireeth start substreams-tier-1 substreams-tier-2 $@, _]
|
||||
command:
|
||||
- --common-live-blocks-addr=http://ethereum-mainnet-firehose:10014
|
||||
- --common-live-blocks-addr=http://ethereum-mainnet-geth-firehose:10014
|
||||
- --log-to-file=false
|
||||
- --substreams-rpc-endpoints=${ETHEREUM_MAINNET_FIREETH_ARCHIVE_RPC}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -158,10 +158,10 @@ services:
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-leveldb-hash-events.loadbalancer.server.port=10016
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-events.entrypoints=grpc
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-events.tls.certresolver=myresolver}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-events.rule=Host(`ethereum-mainnet-events.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-events.rule=Host(`ethereum-mainnet-geth-events.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-events.middlewares=ipallowlist
|
||||
|
||||
ethereum-mainnet-node:
|
||||
ethereum-mainnet-geth-node:
|
||||
image: ${ETHEREUM_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_MAINNET_NIMBUS_VERSION:-amd64-v25.4.1}
|
||||
user: root
|
||||
ports:
|
||||
@@ -180,10 +180,10 @@ services:
|
||||
- --rest-port=3500
|
||||
- --tcp-port=15455
|
||||
- --udp-port=15455
|
||||
- --web3-url=http://ethereum-mainnet:8551
|
||||
- --web3-url=http://ethereum-mainnet-geth:8551
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -195,12 +195,12 @@ services:
|
||||
- prometheus-scrape.port=8008
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-leveldb-hash-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet
|
||||
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-leveldb-hash-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet-geth
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-leveldb-hash-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.rule=PathPrefix(`/ethereum-mainnet/eth`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-geth/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.rule=PathPrefix(`/ethereum-mainnet-geth/eth`)}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-leveldb-hash-node.middlewares=ethereum-mainnet-geth-pruned-leveldb-hash-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -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_FIREETH_IMAGE:-ghcr.io/streamingfast/firehose-ethereum}:${ETHEREUM_MAINNET_FIREETH_VERSION:-}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
@@ -96,15 +96,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-firehose:
|
||||
ethereum-mainnet-geth-firehose:
|
||||
image: ${ETHEREUM_FIREETH_IMAGE:-ghcr.io/streamingfast/firehose-ethereum}:${ETHEREUM_MAINNET_FIREETH_VERSION:-}
|
||||
expose:
|
||||
- 10015
|
||||
@@ -114,10 +114,10 @@ services:
|
||||
entrypoint: [sh, -c, exec fireeth start firehose index-builder relayer merger $@, _]
|
||||
command:
|
||||
- --log-to-file=false
|
||||
- --relayer-source=http://ethereum-mainnet:12023
|
||||
- --relayer-source=http://ethereum-mainnet-geth:12023
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -131,21 +131,21 @@ services:
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path-firehose.loadbalancer.server.port=10015
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-firehose.entrypoints=grpc
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-firehose.tls.certresolver=myresolver}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-firehose.rule=Host(`ethereum-mainnet-firehose.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-firehose.rule=Host(`ethereum-mainnet-geth-firehose.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-firehose.middlewares=ipallowlist
|
||||
|
||||
ethereum-mainnet-events:
|
||||
ethereum-mainnet-geth-events:
|
||||
image: ${ETHEREUM_FIREETH_IMAGE:-ethereum/client-go}:${ETHEREUM_MAINNET_FIREETH_VERSION:-v1.15.7}
|
||||
expose:
|
||||
- 10016
|
||||
entrypoint: [sh, -c, exec fireeth start substreams-tier-1 substreams-tier-2 $@, _]
|
||||
command:
|
||||
- --common-live-blocks-addr=http://ethereum-mainnet-firehose:10014
|
||||
- --common-live-blocks-addr=http://ethereum-mainnet-geth-firehose:10014
|
||||
- --log-to-file=false
|
||||
- --substreams-rpc-endpoints=${ETHEREUM_MAINNET_FIREETH_ARCHIVE_RPC}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -158,10 +158,10 @@ services:
|
||||
- traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path-events.loadbalancer.server.port=10016
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-events.entrypoints=grpc
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-events.tls.certresolver=myresolver}
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-events.rule=Host(`ethereum-mainnet-events.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-events.rule=Host(`ethereum-mainnet-geth-events.${DOMAIN}`)
|
||||
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path-events.middlewares=ipallowlist
|
||||
|
||||
ethereum-mainnet-node:
|
||||
ethereum-mainnet-geth-node:
|
||||
image: ${ETHEREUM_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_MAINNET_NIMBUS_VERSION:-amd64-v25.4.1}
|
||||
user: root
|
||||
ports:
|
||||
@@ -180,10 +180,10 @@ services:
|
||||
- --rest-port=3500
|
||||
- --tcp-port=17023
|
||||
- --udp-port=17023
|
||||
- --web3-url=http://ethereum-mainnet:8551
|
||||
- --web3-url=http://ethereum-mainnet-geth:8551
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-mainnet
|
||||
- ethereum-mainnet-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -195,12 +195,12 @@ services:
|
||||
- prometheus-scrape.port=8008
|
||||
- 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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-sepolia \
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-sepolia-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-sepolia:
|
||||
ethereum-sepolia-geth:
|
||||
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_SEPOLIA_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-sepolia-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-sepolia
|
||||
- traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-sepolia-geth
|
||||
- traefik.http.services.ethereum-sepolia-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-sepolia`) || Path(`/ethereum-sepolia/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Path(`/ethereum-sepolia`) || Path(`/ethereum-sepolia/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/ethereum-sepolia-geth`) || Path(`/ethereum-sepolia-geth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Path(`/ethereum-sepolia-geth`) || Path(`/ethereum-sepolia-geth/`)}
|
||||
- traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.middlewares=ethereum-sepolia-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
ethereum-sepolia-node:
|
||||
ethereum-sepolia-geth-node:
|
||||
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_SEPOLIA_PRYSM_VERSION:-v6.0.0-rc.3}
|
||||
ports:
|
||||
- 19710:19710
|
||||
@@ -113,7 +113,7 @@ services:
|
||||
- --checkpoint-sync-url=https://sepolia.beaconstate.info
|
||||
- --datadir=/data
|
||||
- --enable-historical-state-representation=false
|
||||
- --execution-endpoint=http://ethereum-sepolia:8551
|
||||
- --execution-endpoint=http://ethereum-sepolia-geth:8551
|
||||
- --grpc-gateway-host=0.0.0.0
|
||||
- --jwt-secret=/jwtsecret
|
||||
- --monitoring-host=0.0.0.0
|
||||
@@ -125,7 +125,7 @@ services:
|
||||
- --sepolia
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- ethereum-sepolia
|
||||
- ethereum-sepolia-geth
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -137,12 +137,12 @@ services:
|
||||
- prometheus-scrape.port=8080
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-sepolia
|
||||
- traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/ethereum-sepolia-geth
|
||||
- traefik.http.services.ethereum-sepolia-geth-pruned-pebble-path-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-sepolia/eth`)}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-geth/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.rule=PathPrefix(`/ethereum-sepolia-geth/eth`)}
|
||||
- traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path-node.middlewares=ethereum-sepolia-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user