node is refactored into it's own template

This commit is contained in:
Para Dox
2025-05-24 18:04:16 +07:00
parent b0fc62b701
commit 6d0a5d9d6d
306 changed files with 1633 additions and 1671 deletions

View File

@@ -25,11 +25,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth-minimal \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
ethereum-mainnet-reth-minimal:
@@ -109,11 +104,24 @@ services:
- traefik.http.routers.ethereum-mainnet-reth-minimal-trace.middlewares=ethereum-mainnet-reth-minimal-trace-stripprefix, ipallowlist
shm_size: 2gb
ethereum-mainnet-reth-minimal-pruner:
image: debian:latest
entrypoint: [/scripts/prune-reth.sh]
restart: no
volumes:
- ./scripts/castrate-reth.sh:/scripts/prune-reth.sh
- ethereum-mainnet-reth-minimal-trace:/data
logging: *logging-defaults
profiles:
- pruning
ethereum-mainnet-reth-minimal-node:
image: ${ETHEREUM_BLSYNC_IMAGE:-ethereum/client-go}:${ETHEREUM_MAINNET_BLSYNC_VERSION:-alltools-v1.15.7}
ports:
- 19286:19286
- 19286:19286/udp
expose:
- 3500
entrypoint: [blsync]
command:
- --beacon.api=https://lodestar-mainnet.chainsafe.io
@@ -132,16 +140,6 @@ services:
labels:
- prometheus-scrape.enabled=false
ethereum-mainnet-reth-minimal-pruner:
image: debian:latest
entrypoint: [/scripts/prune-reth.sh]
restart: no
volumes:
- ./scripts/castrate-reth.sh:/scripts/prune-reth.sh
- ethereum-mainnet-reth-minimal-trace:/data
profiles:
- pruning
volumes:
ethereum-mainnet-reth-minimal-trace:
ethereum-mainnet-reth-minimal-trace_blsync: