81 lines
2.9 KiB
YAML
81 lines
2.9 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
|
|
- --rpc-max-connections 429496729
|
|
- --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=None",
|
|
"--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_prsym:
|