fix chain-name typos: ethereum-hoodie→hoodi, drop stale soneium-miniato compose
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:ethereum/nethermind/ethereum-hoodie-nethermind-pruned-rocksdb-trace--nimbus.yml
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:ethereum/nethermind/ethereum-hoodi-nethermind-pruned-rocksdb-trace--nimbus.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-hoodie-nethermind \
|
||||
# curl -X POST https://${IP}.traefik.me/ethereum-hoodi-nethermind \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
ethereum-hoodie-nethermind:
|
||||
image: ${ETHEREUM_NETHERMIND_IMAGE:-nethermind/nethermind}:${ETHEREUM_HOODIE_NETHERMIND_VERSION:-1.39.0}
|
||||
ethereum-hoodi-nethermind:
|
||||
image: ${ETHEREUM_NETHERMIND_IMAGE:-nethermind/nethermind}:${ETHEREUM_HOODI_NETHERMIND_VERSION:-1.39.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -46,13 +46,13 @@ services:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 11214:11214
|
||||
- 11214:11214/udp
|
||||
- 10786:10786
|
||||
- 10786:10786/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9091
|
||||
environment:
|
||||
- NETHERMIND_CONFIG=hoodie
|
||||
- NETHERMIND_CONFIG=hoodi
|
||||
- NETHERMIND_INITCONFIG_BASEDBPATH=/data/db
|
||||
- NETHERMIND_INITCONFIG_LOGDIRECTORY=/data/logs
|
||||
- NETHERMIND_INITCONFIG_WEBSOCKETSENABLED=true
|
||||
@@ -65,10 +65,10 @@ services:
|
||||
- NETHERMIND_JSONRPCCONFIG_PORT=8545
|
||||
- NETHERMIND_JSONRPCCONFIG_WEBSOCKETSPORT=8545
|
||||
- NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091
|
||||
- NETHERMIND_NETWORKCONFIG_DISCOVERYPORT=11214
|
||||
- NETHERMIND_NETWORKCONFIG_DISCOVERYPORT=10786
|
||||
- NETHERMIND_NETWORKCONFIG_EXTERNALIP=${IP}
|
||||
- NETHERMIND_NETWORKCONFIG_MAXACTIVEPEERS=250
|
||||
- NETHERMIND_NETWORKCONFIG_P2PPORT=11214
|
||||
- NETHERMIND_NETWORKCONFIG_P2PPORT=10786
|
||||
- NETHERMIND_TRACESTORECONFIG_ENABLED=true
|
||||
- NETHERMIND_TRACESTORECONFIG_TRACETYPES=Trace,Rewards
|
||||
restart: unless-stopped
|
||||
@@ -76,7 +76,7 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${ETHEREUM_HOODIE_NETHERMIND_PRUNED_ROCKSDB_TRACE_DATA:-ethereum-hoodie-nethermind-pruned-rocksdb-trace}:/data
|
||||
- ${ETHEREUM_HOODI_NETHERMIND_PRUNED_ROCKSDB_TRACE_DATA:-ethereum-hoodi-nethermind-pruned-rocksdb-trace}:/data
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
@@ -85,45 +85,45 @@ services:
|
||||
- prometheus-scrape.port=9091
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-hoodie-nethermind-pruned-rocksdb-trace-stripprefix.stripprefix.prefixes=/ethereum-hoodie-nethermind
|
||||
- traefik.http.services.ethereum-hoodie-nethermind-pruned-rocksdb-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-hoodie-nethermind`) || Path(`/ethereum-hoodie-nethermind/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace.rule=Path(`/ethereum-hoodie-nethermind`) || Path(`/ethereum-hoodie-nethermind/`)}
|
||||
- traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace.middlewares=ethereum-hoodie-nethermind-pruned-rocksdb-trace-stripprefix, ipallowlist
|
||||
- traefik.http.middlewares.ethereum-hoodi-nethermind-pruned-rocksdb-trace-stripprefix.stripprefix.prefixes=/ethereum-hoodi-nethermind
|
||||
- traefik.http.services.ethereum-hoodi-nethermind-pruned-rocksdb-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-hoodi-nethermind`) || Path(`/ethereum-hoodi-nethermind/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace.rule=Path(`/ethereum-hoodi-nethermind`) || Path(`/ethereum-hoodi-nethermind/`)}
|
||||
- traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace.middlewares=ethereum-hoodi-nethermind-pruned-rocksdb-trace-stripprefix, ipallowlist
|
||||
|
||||
ethereum-hoodie-nethermind-node:
|
||||
image: ${ETHEREUM_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_HOODIE_NIMBUS_VERSION:-multiarch-v26.7.0}
|
||||
ethereum-hoodi-nethermind-node:
|
||||
image: ${ETHEREUM_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_HOODI_NIMBUS_VERSION:-multiarch-v26.7.0}
|
||||
user: root
|
||||
ports:
|
||||
- 16214:16214
|
||||
- 16214:16214/udp
|
||||
- 15786:15786
|
||||
- 15786:15786/udp
|
||||
expose:
|
||||
- 3500
|
||||
entrypoint: /bin/sh -c '/home/user/nimbus-eth2/build/nimbus_beacon_node trustedNodeSync --network=hoodie --trusted-node-url= --backfill=false; exec /home/user/nimbus-eth2/build/nimbus_beacon_node "$@"' --
|
||||
entrypoint: /bin/sh -c '/home/user/nimbus-eth2/build/nimbus_beacon_node trustedNodeSync --network=hoodi --trusted-node-url=https://beaconstate-hoodi.chainsafe.io --backfill=false; exec /home/user/nimbus-eth2/build/nimbus_beacon_node "$@"' --
|
||||
command:
|
||||
- --history=prune
|
||||
- --jwt-secret=/jwtsecret
|
||||
- --metrics-address=0.0.0.0
|
||||
- --metrics-port=8008
|
||||
- --nat=extip:${IP}
|
||||
- --network=hoodie
|
||||
- --network=hoodi
|
||||
- --rest
|
||||
- --rest-address=0.0.0.0
|
||||
- --rest-port=3500
|
||||
- --tcp-port=16214
|
||||
- --udp-port=16214
|
||||
- --web3-url=http://ethereum-hoodie-nethermind:8551
|
||||
- --tcp-port=15786
|
||||
- --udp-port=15786
|
||||
- --web3-url=http://ethereum-hoodi-nethermind:8551
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
ethereum-hoodie-nethermind:
|
||||
ethereum-hoodi-nethermind:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${ETHEREUM_HOODIE_NETHERMIND_PRUNED_ROCKSDB_TRACE__NIMBUS_DATA:-ethereum-hoodie-nethermind-pruned-rocksdb-trace_nimbus}:/root/.cache/nimbus/BeaconNode
|
||||
- ${ETHEREUM_HOODI_NETHERMIND_PRUNED_ROCKSDB_TRACE__NIMBUS_DATA:-ethereum-hoodi-nethermind-pruned-rocksdb-trace_nimbus}:/root/.cache/nimbus/BeaconNode
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
@@ -131,17 +131,17 @@ services:
|
||||
- prometheus-scrape.port=8008
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node-stripprefix.stripprefix.prefixes=/ethereum-hoodie-nethermind
|
||||
- traefik.http.services.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-hoodie-nethermind/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.rule=PathPrefix(`/ethereum-hoodie-nethermind/eth`)}
|
||||
- traefik.http.routers.ethereum-hoodie-nethermind-pruned-rocksdb-trace-node.middlewares=ethereum-hoodie-nethermind-pruned-rocksdb-trace-node-stripprefix, ipallowlist
|
||||
- traefik.http.middlewares.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node-stripprefix.stripprefix.prefixes=/ethereum-hoodi-nethermind
|
||||
- traefik.http.services.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.loadbalancer.server.port=3500
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-hoodi-nethermind/eth`)}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.rule=PathPrefix(`/ethereum-hoodi-nethermind/eth`)}
|
||||
- traefik.http.routers.ethereum-hoodi-nethermind-pruned-rocksdb-trace-node.middlewares=ethereum-hoodi-nethermind-pruned-rocksdb-trace-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
ethereum-hoodie-nethermind-pruned-rocksdb-trace:
|
||||
ethereum-hoodie-nethermind-pruned-rocksdb-trace_nimbus:
|
||||
ethereum-hoodi-nethermind-pruned-rocksdb-trace:
|
||||
ethereum-hoodi-nethermind-pruned-rocksdb-trace_nimbus:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
@@ -155,7 +155,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: ethereum
|
||||
chain: hoodi
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
@@ -166,7 +166,7 @@ x-upstreams:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
- id: $${ID}-beacon-chain
|
||||
chain: eth-beacon-chain-hoodie
|
||||
chain: eth-beacon-chain-hoodi
|
||||
labels:
|
||||
provider: $${PROVIDER}-beacon-chain
|
||||
connection:
|
||||
Reference in New Issue
Block a user