Files
ethereum-rpc-docker/ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml
squidbear 9e4c34922b fix
2025-03-28 13:46:39 +01:00

80 lines
2.8 KiB
YAML

services:
ethereum-sepolia:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4}
user: root
volumes:
- "ethereum-sepolia-reth-pruned-trace:/root/.local/share/reth/sepolia"
- "/slowdisk:/slowdisk"
- ".jwtsecret:/jwtsecret"
expose:
- 8545
- 9001
ports:
- "10150:10150"
- "10150:10150/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
command:
- --chain=sepolia
- --metrics=0.0.0.0:9001
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8545
- --ws.origins=*
- --port=10150
- --discovery.port=10150
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --http.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin
- --ws.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin
- --http.corsdomain=*
- --rpc.max-logs-per-response=1100000
- --rpc.gascap=600000000
- --full
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia"
- "traefik.http.services.ethereum-sepolia-reth-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-reth-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-reth-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-reth-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)"
- "traefik.http.routers.ethereum-sepolia-reth-pruned-trace.middlewares=ethereum-sepolia-reth-pruned-trace-stripprefix, ipwhitelist"
networks:
- chains
ethereum-sepolia-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1}
ports:
- "15150:15150"
- "15150:15150/udp"
command:
[
"--sepolia",
"--datadir=/data",
"--jwt-secret=/jwtsecret",
"--rpc-host=0.0.0.0",
"--grpc-gateway-host=0.0.0.0",
"--monitoring-host=0.0.0.0",
"--p2p-tcp-port=15150",
"--p2p-udp-port=15150",
"--checkpoint-sync-url=https://sepolia.beaconstate.info",
"--execution-endpoint=http://ethereum-sepolia:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-sepolia-reth-pruned-trace_prysm:/data"
- ".jwtsecret:/jwtsecret"
restart: unless-stopped
volumes:
ethereum-sepolia-reth-pruned-trace:
ethereum-sepolia-reth-pruned-trace_prysm: