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

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-holesky-reth \
# -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-holesky-reth:
@@ -110,6 +105,8 @@ services:
ports:
- 18752:18752
- 18752:18752/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -182,4 +179,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-holesky
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-holesky-reth-pruned \
# -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-holesky-reth-pruned:
@@ -111,6 +106,8 @@ services:
ports:
- 16849:16849
- 16849:16849/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -183,4 +180,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-holesky
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# 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
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
ethereum-mainnet-reth:
@@ -110,6 +105,8 @@ services:
ports:
- 19563:19563
- 19563:19563/udp
expose:
- 3500
entrypoint: [lighthouse, beacon_node]
command:
- --allow-insecure-genesis-sync
@@ -137,7 +134,6 @@ services:
networks:
- chains
volumes:
- ${ETHEREUM_MAINNET_RETH_ARCHIVE_TRACE__LIGHTHOUSE_PRUNED_BLOBS_DATA:-ethereum-mainnet-reth-archive-trace_lighthouse-pruned-blobs}:/data
- .jwtsecret:/jwtsecret:ro
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
@@ -189,4 +185,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# 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
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
ethereum-mainnet-reth:
@@ -111,6 +106,8 @@ services:
ports:
- 19563:19563
- 19563:19563/udp
expose:
- 3500
entrypoint: /bin/sh -c '/home/user/nimbus-eth2/build/nimbus_beacon_node trustedNodeSync --network=mainnet --trusted-node-url=https://mainnet.beaconstate.info --backfill=false; exec /home/user/nimbus-eth2/build/nimbus_beacon_node "$@"' --
command:
- --history=prune
@@ -181,4 +178,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# 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
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
ethereum-mainnet-reth:
@@ -110,6 +105,8 @@ services:
ports:
- 19563:19563
- 19563:19563/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -182,4 +179,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

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:

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,12 +104,25 @@ 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_NIMBUS_IMAGE:-statusim/nimbus-eth2}:${ETHEREUM_MAINNET_NIMBUS_VERSION:-amd64-v25.4.1}
user: root
ports:
- 19286:19286
- 19286:19286/udp
expose:
- 3500
entrypoint: /bin/sh -c '/home/user/nimbus-eth2/build/nimbus_beacon_node trustedNodeSync --network=mainnet --trusted-node-url=https://mainnet.beaconstate.info --backfill=false; exec /home/user/nimbus-eth2/build/nimbus_beacon_node "$@"' --
command:
- --history=prune
@@ -151,16 +159,6 @@ services:
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.rule=PathPrefix(`/ethereum-mainnet-reth-minimal/eth`)}
- traefik.http.routers.ethereum-mainnet-reth-minimal-trace-node.middlewares=ethereum-mainnet-reth-minimal-trace-node-stripprefix, ipallowlist
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_nimbus:
@@ -217,4 +215,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth-pruned \
# -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-pruned:
@@ -112,6 +107,8 @@ services:
ports:
- 15150:15150
- 15150:15150/udp
expose:
- 3500
entrypoint: /bin/sh -c '/home/user/nimbus-eth2/build/nimbus_beacon_node trustedNodeSync --network=mainnet --trusted-node-url=https://mainnet.beaconstate.info --backfill=false; exec /home/user/nimbus-eth2/build/nimbus_beacon_node "$@"' --
command:
- --history=prune
@@ -182,4 +179,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-mainnet-reth-pruned \
# -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-pruned:
@@ -111,6 +106,8 @@ services:
ports:
- 15150:15150
- 15150:15150/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -183,4 +180,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-sepolia-reth \
# -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-sepolia-reth:
@@ -110,6 +105,8 @@ services:
ports:
- 19330:19330
- 19330:19330/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -182,4 +179,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-sepolia
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/ethereum-sepolia-reth-pruned \
# -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-sepolia-reth-pruned:
@@ -111,6 +106,8 @@ services:
ports:
- 17150:17150
- 17150:17150/udp
expose:
- 3500
command:
- --accept-terms-of-use
- --beacon-db-pruning
@@ -183,4 +180,12 @@ x-upstreams:
generic:
rpc:
url: $${RPC_URL}
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-sepolia
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...