some dangerous path changes for reth datadir

This commit is contained in:
Para Dox
2025-04-26 20:22:45 +07:00
parent a379057318
commit 1ded879d2d
5 changed files with 344 additions and 161 deletions

View File

@@ -74,7 +74,7 @@ services:
command: command:
- --accept-terms-of-use - --accept-terms-of-use
- --beacon-db-pruning - --beacon-db-pruning
- --checkpoint-sync-url= - --checkpoint-sync-url=https://mainnet.beaconstate.info
- --datadir=/data - --datadir=/data
- --enable-historical-state-representation=false - --enable-historical-state-representation=false
- --execution-endpoint=http://ethereum-mainnet:8551 - --execution-endpoint=http://ethereum-mainnet:8551

View File

@@ -1,79 +1,140 @@
---
services: services:
ethereum-holesky: ethereum-holesky:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4} image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_HOLESKY_RETH_VERSION:-v1.3.12}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
volumes: ports:
- "ethereum-holesky-reth-pruned-trace:/root/.local/share/reth/holesky" - 11849:11849
- "/slowdisk:/slowdisk" - 11849:11849/udp
- ".jwtsecret:/jwtsecret:ro"
expose: expose:
- 8545 - 8545
- 9001 - 8551
ports: entrypoint: [reth, node]
- "10849:10849"
- "10849:10849/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
command: command:
- --chain=holesky - --chain=holesky
- --metrics=0.0.0.0:9001 - --datadir=/root/.local/share/reth
- --discovery.port=11849
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --nat=extip:${IP}
- --port=11849
- --rpc.gascap=600000000
- --rpc.max-logs-per-response=1100000
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --http.corsdomain=*
- --http.port=8545 - --http.port=8545
- --ws - --ws
- --ws.addr=0.0.0.0 - --ws.addr=0.0.0.0
- --ws.port=8545 - --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --ws.origins=* - --ws.origins=*
- --port=10849 - --ws.port=8545
- --discovery.port=10849
- --authrpc.addr=0.0.0.0 - --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret - --authrpc.jwtsecret=/jwtsecret
- --http.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin restart: unless-stopped
- --ws.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin stop_grace_period: 5m
- --http.corsdomain=*
- --rpc.max-logs-per-response=1100000
- --rpc.gascap=600000000
- --full
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky"
- "traefik.http.services.ethereum-holesky-reth-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-reth-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-reth-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-reth-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)"
- "traefik.http.routers.ethereum-holesky-reth-pruned-trace.middlewares=ethereum-holesky-reth-pruned-trace-stripprefix, ipwhitelist"
networks: networks:
- chains - chains
volumes:
- ${ETHEREUM_HOLESKY_RETH_PRUNED_TRACE_DATA:-ethereum-holesky-reth-pruned-trace}:/root/.local/share/reth
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky
- traefik.http.services.ethereum-holesky-reth-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-holesky`) || Path(`/ethereum-holesky/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-reth-pruned-trace.rule=Path(`/ethereum-holesky`) || Path(`/ethereum-holesky/`)}
- traefik.http.routers.ethereum-holesky-reth-pruned-trace.middlewares=ethereum-holesky-reth-pruned-trace-stripprefix, ipallowlist
ethereum-holesky-node: ethereum-holesky-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_HOLESKY_PRYSM_VERSION:-v6.0.0-rc.3}
ports: ports:
- "15849:15849" - 16849:16849
- "15849:15849/udp" - 16849:16849/udp
command: command:
[ - --accept-terms-of-use
"--holesky", - --beacon-db-pruning
"--datadir=/data", - --checkpoint-sync-url=https://holesky.beaconstate.info
"--jwt-secret=/jwtsecret", - --datadir=/data
"--rpc-host=0.0.0.0", - --enable-historical-state-representation=false
"--grpc-gateway-host=0.0.0.0", - --execution-endpoint=http://ethereum-holesky:8551
"--monitoring-host=0.0.0.0", - --grpc-gateway-host=0.0.0.0
"--p2p-tcp-port=15849", - --holesky
"--p2p-udp-port=15849", - --jwt-secret=/jwtsecret
"--checkpoint-sync-url=https://holesky.beaconstate.info", - --monitoring-host=0.0.0.0
"--execution-endpoint=http://ethereum-holesky:8551", - --p2p-tcp-port=16849
"--enable-historical-state-representation=false", - --p2p-udp-port=16849
"--beacon-db-pruning", - --rpc-host=0.0.0.0
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-holesky-reth-pruned-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped restart: unless-stopped
depends_on:
- ethereum-holesky
networks:
- chains
volumes:
- ${ETHEREUM_HOLESKY_RETH_PRUNED_TRACE__PRYSM_DATA:-ethereum-holesky-reth-pruned-trace_prysm}:/data
- .jwtsecret:/jwtsecret:ro
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ethereum-holesky
- traefik.http.services.ethereum-holesky-reth-pruned-trace-node.loadbalancer.server.port=3500
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-reth-pruned-trace-node.rule=PathPrefix(`/ethereum-holesky/eth`)}
- traefik.http.routers.ethereum-holesky-reth-pruned-trace-node.middlewares=ethereum-holesky-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: volumes:
ethereum-holesky-reth-pruned-trace: ethereum-holesky-reth-pruned-trace:
ethereum-holesky-reth-pruned-trace_prysm: ethereum-holesky-reth-pruned-trace_prysm:
x-upstreams:
- id: $${ID}
labels:
provider: $${PROVIDER}
connection:
generic:
rpc:
url: $${RPC_URL}
ws:
frameSize: 20Mb
msgSize: 50Mb
url: $${WS_URL}
chain: holesky
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-holesky
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -73,7 +73,7 @@ services:
command: command:
- --accept-terms-of-use - --accept-terms-of-use
- --beacon-db-pruning - --beacon-db-pruning
- --checkpoint-sync-url= - --checkpoint-sync-url=https://mainnet.beaconstate.info
- --datadir=/data - --datadir=/data
- --enable-historical-state-representation=false - --enable-historical-state-representation=false
- --execution-endpoint=http://ethereum-mainnet-archive:8551 - --execution-endpoint=http://ethereum-mainnet-archive:8551

View File

@@ -1,79 +1,140 @@
---
services: services:
ethereum-mainnet: ethereum-mainnet:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4} image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.3.12}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
volumes: ports:
- "ethereum-mainnet-reth-pruned-trace:/root/.local/share/reth/mainnet" - 10150:10150
- "/slowdisk:/slowdisk" - 10150:10150/udp
- ".jwtsecret:/jwtsecret:ro"
expose: expose:
- 8545 - 8545
- 9001 - 8551
ports: entrypoint: [reth, node]
- "10150:10150"
- "10150:10150/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
command: command:
- --chain=mainnet - --chain=mainnet
- --metrics=0.0.0.0:9001 - --datadir=/root/.local/share/reth
- --discovery.port=10150
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --nat=extip:${IP}
- --port=10150
- --rpc.gascap=600000000
- --rpc.max-logs-per-response=1100000
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --http.corsdomain=*
- --http.port=8545 - --http.port=8545
- --ws - --ws
- --ws.addr=0.0.0.0 - --ws.addr=0.0.0.0
- --ws.port=8545 - --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --ws.origins=* - --ws.origins=*
- --port=10150 - --ws.port=8545
- --discovery.port=10150
- --authrpc.addr=0.0.0.0 - --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret - --authrpc.jwtsecret=/jwtsecret
- --http.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin restart: unless-stopped
- --ws.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin stop_grace_period: 5m
- --http.corsdomain=*
- --rpc.max-logs-per-response=1100000
- --rpc.gascap=600000000
- --full
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet"
- "traefik.http.services.ethereum-mainnet-reth-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-reth-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-reth-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)"
- "traefik.http.routers.ethereum-mainnet-reth-pruned-trace.middlewares=ethereum-mainnet-reth-pruned-trace-stripprefix, ipwhitelist"
networks: networks:
- chains - chains
volumes:
- ${ETHEREUM_MAINNET_RETH_PRUNED_TRACE_DATA:-ethereum-mainnet-reth-pruned-trace}:/root/.local/share/reth
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.services.ethereum-mainnet-reth-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace.rule=Path(`/ethereum-mainnet`) || Path(`/ethereum-mainnet/`)}
- traefik.http.routers.ethereum-mainnet-reth-pruned-trace.middlewares=ethereum-mainnet-reth-pruned-trace-stripprefix, ipallowlist
ethereum-mainnet-node: ethereum-mainnet-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_MAINNET_PRYSM_VERSION:-v6.0.0-rc.3}
ports: ports:
- "15150:15150" - 15150:15150
- "15150:15150/udp" - 15150:15150/udp
command: command:
[ - --accept-terms-of-use
"--mainnet", - --beacon-db-pruning
"--datadir=/data", - --checkpoint-sync-url=https://mainnet.beaconstate.info
"--jwt-secret=/jwtsecret", - --datadir=/data
"--rpc-host=0.0.0.0", - --enable-historical-state-representation=false
"--grpc-gateway-host=0.0.0.0", - --execution-endpoint=http://ethereum-mainnet:8551
"--monitoring-host=0.0.0.0", - --grpc-gateway-host=0.0.0.0
"--p2p-tcp-port=15150", - --jwt-secret=/jwtsecret
"--p2p-udp-port=15150", - --mainnet
"--checkpoint-sync-url=https://sync-mainnet.beaconcha.in", - --monitoring-host=0.0.0.0
"--execution-endpoint=http://ethereum-mainnet:8551", - --p2p-tcp-port=15150
"--enable-historical-state-representation=false", - --p2p-udp-port=15150
"--beacon-db-pruning", - --rpc-host=0.0.0.0
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-mainnet-reth-pruned-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped restart: unless-stopped
depends_on:
- ethereum-mainnet
networks:
- chains
volumes:
- ${ETHEREUM_MAINNET_RETH_PRUNED_TRACE__PRYSM_DATA:-ethereum-mainnet-reth-pruned-trace_prysm}:/data
- .jwtsecret:/jwtsecret:ro
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.services.ethereum-mainnet-reth-pruned-trace-node.loadbalancer.server.port=3500
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.rule=PathPrefix(`/ethereum-mainnet/eth`)}
- traefik.http.routers.ethereum-mainnet-reth-pruned-trace-node.middlewares=ethereum-mainnet-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: volumes:
ethereum-mainnet-reth-pruned-trace: ethereum-mainnet-reth-pruned-trace:
ethereum-mainnet-reth-pruned-trace_prysm: ethereum-mainnet-reth-pruned-trace_prysm:
x-upstreams:
- id: $${ID}
labels:
provider: $${PROVIDER}
connection:
generic:
rpc:
url: $${RPC_URL}
ws:
frameSize: 20Mb
msgSize: 50Mb
url: $${WS_URL}
chain: ethereum
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes
- id: $${ID}-beacon-chain
chain: eth-beacon-chain
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...

View File

@@ -1,79 +1,140 @@
---
services: services:
ethereum-sepolia: ethereum-sepolia:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4} image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_SEPOLIA_RETH_VERSION:-v1.3.12}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
volumes: ports:
- "ethereum-sepolia-reth-pruned-trace:/root/.local/share/reth/sepolia" - 12150:12150
- "/slowdisk:/slowdisk" - 12150:12150/udp
- ".jwtsecret:/jwtsecret:ro"
expose: expose:
- 8545 - 8545
- 9001 - 8551
ports: entrypoint: [reth, node]
- "10150:10150"
- "10150:10150/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
command: command:
- --chain=sepolia - --chain=sepolia
- --metrics=0.0.0.0:9001 - --datadir=/root/.local/share/reth
- --discovery.port=12150
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --nat=extip:${IP}
- --port=12150
- --rpc.gascap=600000000
- --rpc.max-logs-per-response=1100000
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --http.corsdomain=*
- --http.port=8545 - --http.port=8545
- --ws - --ws
- --ws.addr=0.0.0.0 - --ws.addr=0.0.0.0
- --ws.port=8545 - --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
- --ws.origins=* - --ws.origins=*
- --port=10150 - --ws.port=8545
- --discovery.port=10150
- --authrpc.addr=0.0.0.0 - --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret - --authrpc.jwtsecret=/jwtsecret
- --http.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin restart: unless-stopped
- --ws.api=debug,eth,net,trace,txpool,web3,rpc,reth,admin stop_grace_period: 5m
- --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: networks:
- chains - chains
volumes:
- ${ETHEREUM_SEPOLIA_RETH_PRUNED_TRACE_DATA:-ethereum-sepolia-reth-pruned-trace}:/root/.local/share/reth
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
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
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ethereum-sepolia`) || Path(`/ethereum-sepolia/`))}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-reth-pruned-trace.rule=Path(`/ethereum-sepolia`) || Path(`/ethereum-sepolia/`)}
- traefik.http.routers.ethereum-sepolia-reth-pruned-trace.middlewares=ethereum-sepolia-reth-pruned-trace-stripprefix, ipallowlist
ethereum-sepolia-node: ethereum-sepolia-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_SEPOLIA_PRYSM_VERSION:-v6.0.0-rc.3}
ports: ports:
- "15150:15150" - 17150:17150
- "15150:15150/udp" - 17150:17150/udp
command: command:
[ - --accept-terms-of-use
"--sepolia", - --beacon-db-pruning
"--datadir=/data", - --checkpoint-sync-url=https://sepolia.beaconstate.info
"--jwt-secret=/jwtsecret", - --datadir=/data
"--rpc-host=0.0.0.0", - --enable-historical-state-representation=false
"--grpc-gateway-host=0.0.0.0", - --execution-endpoint=http://ethereum-sepolia:8551
"--monitoring-host=0.0.0.0", - --grpc-gateway-host=0.0.0.0
"--p2p-tcp-port=15150", - --jwt-secret=/jwtsecret
"--p2p-udp-port=15150", - --monitoring-host=0.0.0.0
"--checkpoint-sync-url=https://sepolia.beaconstate.info", - --p2p-tcp-port=17150
"--execution-endpoint=http://ethereum-sepolia:8551", - --p2p-udp-port=17150
"--enable-historical-state-representation=false", - --rpc-host=0.0.0.0
"--beacon-db-pruning", - --sepolia
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-sepolia-reth-pruned-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped restart: unless-stopped
depends_on:
- ethereum-sepolia
networks:
- chains
volumes:
- ${ETHEREUM_SEPOLIA_RETH_PRUNED_TRACE__PRYSM_DATA:-ethereum-sepolia-reth-pruned-trace_prysm}:/data
- .jwtsecret:/jwtsecret:ro
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ethereum-sepolia
- traefik.http.services.ethereum-sepolia-reth-pruned-trace-node.loadbalancer.server.port=3500
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-reth-pruned-trace-node.rule=PathPrefix(`/ethereum-sepolia/eth`)}
- traefik.http.routers.ethereum-sepolia-reth-pruned-trace-node.middlewares=ethereum-sepolia-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: volumes:
ethereum-sepolia-reth-pruned-trace: ethereum-sepolia-reth-pruned-trace:
ethereum-sepolia-reth-pruned-trace_prysm: ethereum-sepolia-reth-pruned-trace_prysm:
x-upstreams:
- id: $${ID}
labels:
provider: $${PROVIDER}
connection:
generic:
rpc:
url: $${RPC_URL}
ws:
frameSize: 20Mb
msgSize: 50Mb
url: $${WS_URL}
chain: sepolia
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes
- id: $${ID}-beacon-chain
chain: eth-beacon-chain-sepolia
labels:
provider: $${PROVIDER}-beacon-chain
connection:
generic:
rpc:
url: $${RPC_URL}
...