some progress

This commit is contained in:
Para Dox
2025-04-10 14:43:11 +07:00
parent 5ce47e35dd
commit 20e9d26d44
219 changed files with 20641 additions and 43567 deletions

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-holesky-archive:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOLESKY_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10947:10947"
- "10947:10947/udp"
- "25947:25947"
- "25947:25947/udp"
- "30947:30947"
- "30947:30947/udp"
- "15947:15947"
- "15947:15947/udp"
- "20947:20947"
- "20947:20947/udp"
environment:
- "IP=${IP}"
- 10947:10947
- 10947:10947/udp
- 30947:30947
- 30947:30947/udp
- 35947:35947
- 35947:35947/udp
- 15947:15947
- 15947:15947/udp
- 25947:25947
- 25947:25947/udp
volumes:
- ethereum-holesky-erigon3-archive-trace:/root/.local/share/erigon
- ${ETHEREUM_HOLESKY_ERIGON3_ARCHIVE_TRACE_DATA:-ethereum-holesky-erigon3-archive-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10947
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30947
- --p2p.allowed-ports=35947
- --chain=holesky
- --torrent.port=25947
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=holesky
- --prune.mode=archive
- --port=10947
- --p2p.allowed-ports=25947
- --p2p.allowed-ports=30947
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20947
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15947
- --caplin.discovery.tcpport=15947
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-archive"
- "traefik.http.services.ethereum-holesky-erigon3-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive`)"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace.middlewares=ethereum-holesky-erigon3-archive-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace.service=ethereum-holesky-erigon3-archive-trace"
- "traefik.http.services.ethereum-holesky-erigon3-archive-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.service=ethereum-holesky-erigon3-archive-trace-node"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive/eth`)"
- "traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.middlewares=ethereum-holesky-erigon3-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-archive
- traefik.http.services.ethereum-holesky-erigon3-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-archive-trace.rule=PathPrefix(`/ethereum-holesky-archive`)}
- traefik.http.routers.ethereum-holesky-erigon3-archive-trace.middlewares=ethereum-holesky-erigon3-archive-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-holesky-erigon3-archive-trace.service=ethereum-holesky-erigon3-archive-trace
- traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.service=ethereum-holesky-erigon3-archive-trace-node
- traefik.http.services.ethereum-holesky-erigon3-archive-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.rule=PathPrefix(`/ethereum-holesky-archive/eth`)}
- traefik.http.routers.ethereum-holesky-erigon3-archive-trace-node.middlewares=ethereum-holesky-erigon3-archive-trace-stripprefix, ipwhitelist
volumes:
ethereum-holesky-erigon3-archive-trace:
ethereum-holesky-erigon3-archive-trace:
x-upstreams:
- chain: holesky
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-holesky-minimal:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOLESKY_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10582:10582"
- "10582:10582/udp"
- "25582:25582"
- "25582:25582/udp"
- "30582:30582"
- "30582:30582/udp"
- "15582:15582"
- "15582:15582/udp"
- "20582:20582"
- "20582:20582/udp"
environment:
- "IP=${IP}"
- 10947:10947
- 10947:10947/udp
- 30947:30947
- 30947:30947/udp
- 35947:35947
- 35947:35947/udp
- 15947:15947
- 15947:15947/udp
- 25947:25947
- 25947:25947/udp
volumes:
- ethereum-holesky-erigon3-minimal-trace:/root/.local/share/erigon
- ${ETHEREUM_HOLESKY_ERIGON3_MINIMAL_TRACE_DATA:-ethereum-holesky-erigon3-minimal-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10947
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30947
- --p2p.allowed-ports=35947
- --chain=holesky
- --torrent.port=25947
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=holesky
- --prune.mode=minimal
- --port=10582
- --p2p.allowed-ports=25582
- --p2p.allowed-ports=30582
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20582
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15582
- --caplin.discovery.tcpport=15582
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-minimal"
- "traefik.http.services.ethereum-holesky-erigon3-minimal-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-minimal`)"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.middlewares=ethereum-holesky-erigon3-minimal-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.service=ethereum-holesky-erigon3-minimal-trace"
- "traefik.http.services.ethereum-holesky-erigon3-minimal-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.service=ethereum-holesky-erigon3-minimal-trace-node"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-minimal/eth`)"
- "traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.middlewares=ethereum-holesky-erigon3-minimal-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-minimal
- traefik.http.services.ethereum-holesky-erigon3-minimal-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-minimal`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.rule=PathPrefix(`/ethereum-holesky-minimal`)}
- traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.middlewares=ethereum-holesky-erigon3-minimal-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-holesky-erigon3-minimal-trace.service=ethereum-holesky-erigon3-minimal-trace
- traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.service=ethereum-holesky-erigon3-minimal-trace-node
- traefik.http.services.ethereum-holesky-erigon3-minimal-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-minimal/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.rule=PathPrefix(`/ethereum-holesky-minimal/eth`)}
- traefik.http.routers.ethereum-holesky-erigon3-minimal-trace-node.middlewares=ethereum-holesky-erigon3-minimal-trace-stripprefix, ipwhitelist
volumes:
ethereum-holesky-erigon3-minimal-trace:
ethereum-holesky-erigon3-minimal-trace:
x-upstreams:
- chain: holesky
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-holesky:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOLESKY_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10685:10685"
- "10685:10685/udp"
- "25685:25685"
- "25685:25685/udp"
- "30685:30685"
- "30685:30685/udp"
- "15685:15685"
- "15685:15685/udp"
- "20685:20685"
- "20685:20685/udp"
environment:
- "IP=${IP}"
- 10947:10947
- 10947:10947/udp
- 30947:30947
- 30947:30947/udp
- 35947:35947
- 35947:35947/udp
- 15947:15947
- 15947:15947/udp
- 25947:25947
- 25947:25947/udp
volumes:
- ethereum-holesky-erigon3-pruned-trace:/root/.local/share/erigon
- ${ETHEREUM_HOLESKY_ERIGON3_PRUNED_TRACE_DATA:-ethereum-holesky-erigon3-pruned-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10947
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30947
- --p2p.allowed-ports=35947
- --chain=holesky
- --torrent.port=25947
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=holesky
- --prune.mode=full
- --port=10685
- --p2p.allowed-ports=25685
- --p2p.allowed-ports=30685
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20685
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15685
- --caplin.discovery.tcpport=15685
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky"
- "traefik.http.services.ethereum-holesky-erigon3-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.middlewares=ethereum-holesky-erigon3-pruned-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.service=ethereum-holesky-erigon3-pruned-trace"
- "traefik.http.services.ethereum-holesky-erigon3-pruned-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.service=ethereum-holesky-erigon3-pruned-trace-node"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky/eth`)"
- "traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.middlewares=ethereum-holesky-erigon3-pruned-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky
- traefik.http.services.ethereum-holesky-erigon3-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.rule=PathPrefix(`/ethereum-holesky`)}
- traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.middlewares=ethereum-holesky-erigon3-pruned-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-holesky-erigon3-pruned-trace.service=ethereum-holesky-erigon3-pruned-trace
- traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.service=ethereum-holesky-erigon3-pruned-trace-node
- traefik.http.services.ethereum-holesky-erigon3-pruned-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.rule=PathPrefix(`/ethereum-holesky/eth`)}
- traefik.http.routers.ethereum-holesky-erigon3-pruned-trace-node.middlewares=ethereum-holesky-erigon3-pruned-trace-stripprefix, ipwhitelist
volumes:
ethereum-holesky-erigon3-pruned-trace:
ethereum-holesky-erigon3-pruned-trace:
x-upstreams:
- chain: holesky
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-mainnet-archive:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10675:10675"
- "10675:10675/udp"
- "25675:25675"
- "25675:25675/udp"
- "30675:30675"
- "30675:30675/udp"
- "15675:15675"
- "15675:15675/udp"
- "20675:20675"
- "20675:20675/udp"
environment:
- "IP=${IP}"
- 10675:10675
- 10675:10675/udp
- 30675:30675
- 30675:30675/udp
- 35675:35675
- 35675:35675/udp
- 15675:15675
- 15675:15675/udp
- 25675:25675
- 25675:25675/udp
volumes:
- ethereum-mainnet-erigon3-archive-trace:/root/.local/share/erigon
- ${ETHEREUM_MAINNET_ERIGON3_ARCHIVE_TRACE_DATA:-ethereum-mainnet-erigon3-archive-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10675
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30675
- --p2p.allowed-ports=35675
- --chain=mainnet
- --torrent.port=25675
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=mainnet
- --prune.mode=archive
- --port=10675
- --p2p.allowed-ports=25675
- --p2p.allowed-ports=30675
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20675
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15675
- --caplin.discovery.tcpport=15675
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive"
- "traefik.http.services.ethereum-mainnet-erigon3-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.middlewares=ethereum-mainnet-erigon3-archive-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.service=ethereum-mainnet-erigon3-archive-trace"
- "traefik.http.services.ethereum-mainnet-erigon3-archive-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.service=ethereum-mainnet-erigon3-archive-trace-node"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive/eth`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.middlewares=ethereum-mainnet-erigon3-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive
- traefik.http.services.ethereum-mainnet-erigon3-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.rule=PathPrefix(`/ethereum-mainnet-archive`)}
- traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.middlewares=ethereum-mainnet-erigon3-archive-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-mainnet-erigon3-archive-trace.service=ethereum-mainnet-erigon3-archive-trace
- traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.service=ethereum-mainnet-erigon3-archive-trace-node
- traefik.http.services.ethereum-mainnet-erigon3-archive-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.rule=PathPrefix(`/ethereum-mainnet-archive/eth`)}
- traefik.http.routers.ethereum-mainnet-erigon3-archive-trace-node.middlewares=ethereum-mainnet-erigon3-archive-trace-stripprefix, ipwhitelist
volumes:
ethereum-mainnet-erigon3-archive-trace:
ethereum-mainnet-erigon3-archive-trace:
x-upstreams:
- chain: ethereum
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-mainnet-minimal:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10614:10614"
- "10614:10614/udp"
- "25614:25614"
- "25614:25614/udp"
- "30614:30614"
- "30614:30614/udp"
- "15614:15614"
- "15614:15614/udp"
- "20614:20614"
- "20614:20614/udp"
environment:
- "IP=${IP}"
- 10675:10675
- 10675:10675/udp
- 30675:30675
- 30675:30675/udp
- 35675:35675
- 35675:35675/udp
- 15675:15675
- 15675:15675/udp
- 25675:25675
- 25675:25675/udp
volumes:
- ethereum-mainnet-erigon3-minimal-trace:/root/.local/share/erigon
- ${ETHEREUM_MAINNET_ERIGON3_MINIMAL_TRACE_DATA:-ethereum-mainnet-erigon3-minimal-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10675
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30675
- --p2p.allowed-ports=35675
- --chain=mainnet
- --torrent.port=25675
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=mainnet
- --prune.mode=minimal
- --port=10614
- --p2p.allowed-ports=25614
- --p2p.allowed-ports=30614
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20614
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15614
- --caplin.discovery.tcpport=15614
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-minimal"
- "traefik.http.services.ethereum-mainnet-erigon3-minimal-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-minimal`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.middlewares=ethereum-mainnet-erigon3-minimal-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.service=ethereum-mainnet-erigon3-minimal-trace"
- "traefik.http.services.ethereum-mainnet-erigon3-minimal-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.service=ethereum-mainnet-erigon3-minimal-trace-node"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-minimal/eth`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.middlewares=ethereum-mainnet-erigon3-minimal-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-minimal
- traefik.http.services.ethereum-mainnet-erigon3-minimal-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-minimal`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.rule=PathPrefix(`/ethereum-mainnet-minimal`)}
- traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.middlewares=ethereum-mainnet-erigon3-minimal-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace.service=ethereum-mainnet-erigon3-minimal-trace
- traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.service=ethereum-mainnet-erigon3-minimal-trace-node
- traefik.http.services.ethereum-mainnet-erigon3-minimal-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-minimal/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.rule=PathPrefix(`/ethereum-mainnet-minimal/eth`)}
- traefik.http.routers.ethereum-mainnet-erigon3-minimal-trace-node.middlewares=ethereum-mainnet-erigon3-minimal-trace-stripprefix, ipwhitelist
volumes:
ethereum-mainnet-erigon3-minimal-trace:
ethereum-mainnet-erigon3-minimal-trace:
x-upstreams:
- chain: ethereum
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-mainnet:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10616:10616"
- "10616:10616/udp"
- "25616:25616"
- "25616:25616/udp"
- "30616:30616"
- "30616:30616/udp"
- "15616:15616"
- "15616:15616/udp"
- "20616:20616"
- "20616:20616/udp"
environment:
- "IP=${IP}"
- 10675:10675
- 10675:10675/udp
- 30675:30675
- 30675:30675/udp
- 35675:35675
- 35675:35675/udp
- 15675:15675
- 15675:15675/udp
- 25675:25675
- 25675:25675/udp
volumes:
- ethereum-mainnet-erigon3-pruned-trace:/root/.local/share/erigon
- ${ETHEREUM_MAINNET_ERIGON3_PRUNED_TRACE_DATA:-ethereum-mainnet-erigon3-pruned-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10675
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30675
- --p2p.allowed-ports=35675
- --chain=mainnet
- --torrent.port=25675
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=mainnet
- --prune.mode=full
- --port=10616
- --p2p.allowed-ports=25616
- --p2p.allowed-ports=30616
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20616
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15616
- --caplin.discovery.tcpport=15616
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet"
- "traefik.http.services.ethereum-mainnet-erigon3-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.middlewares=ethereum-mainnet-erigon3-pruned-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.service=ethereum-mainnet-erigon3-pruned-trace"
- "traefik.http.services.ethereum-mainnet-erigon3-pruned-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.service=ethereum-mainnet-erigon3-pruned-trace-node"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)"
- "traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.middlewares=ethereum-mainnet-erigon3-pruned-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.services.ethereum-mainnet-erigon3-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.rule=PathPrefix(`/ethereum-mainnet`)}
- traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.middlewares=ethereum-mainnet-erigon3-pruned-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace.service=ethereum-mainnet-erigon3-pruned-trace
- traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.service=ethereum-mainnet-erigon3-pruned-trace-node
- traefik.http.services.ethereum-mainnet-erigon3-pruned-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.rule=PathPrefix(`/ethereum-mainnet/eth`)}
- traefik.http.routers.ethereum-mainnet-erigon3-pruned-trace-node.middlewares=ethereum-mainnet-erigon3-pruned-trace-stripprefix, ipwhitelist
volumes:
ethereum-mainnet-erigon3-pruned-trace:
ethereum-mainnet-erigon3-pruned-trace:
x-upstreams:
- chain: ethereum
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-sepolia-archive:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10317:10317"
- "10317:10317/udp"
- "25317:25317"
- "25317:25317/udp"
- "30317:30317"
- "30317:30317/udp"
- "15317:15317"
- "15317:15317/udp"
- "20317:20317"
- "20317:20317/udp"
environment:
- "IP=${IP}"
- 10317:10317
- 10317:10317/udp
- 30317:30317
- 30317:30317/udp
- 35317:35317
- 35317:35317/udp
- 15317:15317
- 15317:15317/udp
- 25317:25317
- 25317:25317/udp
volumes:
- ethereum-sepolia-erigon3-archive-trace:/root/.local/share/erigon
- ${ETHEREUM_SEPOLIA_ERIGON3_ARCHIVE_TRACE_DATA:-ethereum-sepolia-erigon3-archive-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10317
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30317
- --p2p.allowed-ports=35317
- --chain=sepolia
- --torrent.port=25317
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=sepolia
- --prune.mode=archive
- --port=10317
- --p2p.allowed-ports=25317
- --p2p.allowed-ports=30317
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20317
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15317
- --caplin.discovery.tcpport=15317
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-archive"
- "traefik.http.services.ethereum-sepolia-erigon3-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.middlewares=ethereum-sepolia-erigon3-archive-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.service=ethereum-sepolia-erigon3-archive-trace"
- "traefik.http.services.ethereum-sepolia-erigon3-archive-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.service=ethereum-sepolia-erigon3-archive-trace-node"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive/eth`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.middlewares=ethereum-sepolia-erigon3-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-erigon3-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-archive
- traefik.http.services.ethereum-sepolia-erigon3-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.rule=PathPrefix(`/ethereum-sepolia-archive`)}
- traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.middlewares=ethereum-sepolia-erigon3-archive-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-sepolia-erigon3-archive-trace.service=ethereum-sepolia-erigon3-archive-trace
- traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.service=ethereum-sepolia-erigon3-archive-trace-node
- traefik.http.services.ethereum-sepolia-erigon3-archive-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.rule=PathPrefix(`/ethereum-sepolia-archive/eth`)}
- traefik.http.routers.ethereum-sepolia-erigon3-archive-trace-node.middlewares=ethereum-sepolia-erigon3-archive-trace-stripprefix, ipwhitelist
volumes:
ethereum-sepolia-erigon3-archive-trace:
ethereum-sepolia-erigon3-archive-trace:
x-upstreams:
- chain: sepolia
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-sepolia-minimal:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10087:10087"
- "10087:10087/udp"
- "25087:25087"
- "25087:25087/udp"
- "30087:30087"
- "30087:30087/udp"
- "15087:15087"
- "15087:15087/udp"
- "20087:20087"
- "20087:20087/udp"
environment:
- "IP=${IP}"
- 10317:10317
- 10317:10317/udp
- 30317:30317
- 30317:30317/udp
- 35317:35317
- 35317:35317/udp
- 15317:15317
- 15317:15317/udp
- 25317:25317
- 25317:25317/udp
volumes:
- ethereum-sepolia-erigon3-minimal-trace:/root/.local/share/erigon
- ${ETHEREUM_SEPOLIA_ERIGON3_MINIMAL_TRACE_DATA:-ethereum-sepolia-erigon3-minimal-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10317
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30317
- --p2p.allowed-ports=35317
- --chain=sepolia
- --torrent.port=25317
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=sepolia
- --prune.mode=minimal
- --port=10087
- --p2p.allowed-ports=25087
- --p2p.allowed-ports=30087
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20087
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15087
- --caplin.discovery.tcpport=15087
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-minimal"
- "traefik.http.services.ethereum-sepolia-erigon3-minimal-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-minimal`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.middlewares=ethereum-sepolia-erigon3-minimal-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.service=ethereum-sepolia-erigon3-minimal-trace"
- "traefik.http.services.ethereum-sepolia-erigon3-minimal-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.service=ethereum-sepolia-erigon3-minimal-trace-node"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-minimal/eth`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.middlewares=ethereum-sepolia-erigon3-minimal-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-erigon3-minimal-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-minimal
- traefik.http.services.ethereum-sepolia-erigon3-minimal-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-minimal`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.rule=PathPrefix(`/ethereum-sepolia-minimal`)}
- traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.middlewares=ethereum-sepolia-erigon3-minimal-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace.service=ethereum-sepolia-erigon3-minimal-trace
- traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.service=ethereum-sepolia-erigon3-minimal-trace-node
- traefik.http.services.ethereum-sepolia-erigon3-minimal-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-minimal/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.rule=PathPrefix(`/ethereum-sepolia-minimal/eth`)}
- traefik.http.routers.ethereum-sepolia-erigon3-minimal-trace-node.middlewares=ethereum-sepolia-erigon3-minimal-trace-stripprefix, ipwhitelist
volumes:
ethereum-sepolia-erigon3-minimal-trace:
ethereum-sepolia-erigon3-minimal-trace:
x-upstreams:
- chain: sepolia
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,77 +1,127 @@
# use at your own risk
services:
ethereum-sepolia:
image: erigontech/erigon:${ERIGON3_VERSION:-v3.0.0}
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.0.0}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- "8545"
- 8545
- 8551
ports:
- "10930:10930"
- "10930:10930/udp"
- "25930:25930"
- "25930:25930/udp"
- "30930:30930"
- "30930:30930/udp"
- "15930:15930"
- "15930:15930/udp"
- "20930:20930"
- "20930:20930/udp"
environment:
- "IP=${IP}"
- 10317:10317
- 10317:10317/udp
- 30317:30317
- 30317:30317/udp
- 35317:35317
- 35317:35317/udp
- 15317:15317
- 15317:15317/udp
- 25317:25317
- 25317:25317/udp
volumes:
- ethereum-sepolia-erigon3-pruned-trace:/root/.local/share/erigon
- ${ETHEREUM_SEPOLIA_ERIGON3_PRUNED_TRACE_DATA:-ethereum-sepolia-erigon3-pruned-trace}:/root/.local/share/erigon
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [erigon]
command:
- --datadir=/root/.local/share/erigon
- --port=10317
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --ws.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=6000000000
- --prune.mode=
- --p2p.allowed-ports=30317
- --p2p.allowed-ports=35317
- --chain=sepolia
- --torrent.port=25317
networks:
- chains
entrypoint: ["erigon"]
command:
- --chain=sepolia
- --prune.mode=full
- --port=10930
- --p2p.allowed-ports=25930
- --p2p.allowed-ports=30930
- --nat=extip:${IP}
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin
- --rpc.returndata.limit=1100000
- --rpc.gascap=5000000000
- --ws.port=8545
- --ws
- --torrent.port=20930
- --beacon.api.port=5555
- --beacon.api.addr=0.0.0.0
- --beacon.api.cors.allow-origins=*
- --caplin.discovery.addr=0.0.0.0
- --caplin.discovery.port=15930
- --caplin.discovery.tcpport=15930
- --beacon.api=beacon,builder,debug,lighthouse,node,validator,config
restart: unless-stopped
stop_grace_period: 1m
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia"
- "traefik.http.services.ethereum-sepolia-erigon3-pruned-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.middlewares=ethereum-sepolia-erigon3-pruned-trace-stripprefix, ipwhitelist"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.service=ethereum-sepolia-erigon3-pruned-trace"
- "traefik.http.services.ethereum-sepolia-erigon3-pruned-trace-node.loadbalancer.server.port=5555"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.service=ethereum-sepolia-erigon3-pruned-trace-node"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia/eth`)"
- "traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.middlewares=ethereum-sepolia-erigon3-pruned-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-erigon3-pruned-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia
- traefik.http.services.ethereum-sepolia-erigon3-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.rule=PathPrefix(`/ethereum-sepolia`)}
- traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.middlewares=ethereum-sepolia-erigon3-pruned-trace-stripprefix, ipwhitelist
- traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace.service=ethereum-sepolia-erigon3-pruned-trace
- traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.service=ethereum-sepolia-erigon3-pruned-trace-node
- traefik.http.services.ethereum-sepolia-erigon3-pruned-trace-node.loadbalancer.server.port=5555
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia/eth`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.rule=PathPrefix(`/ethereum-sepolia/eth`)}
- traefik.http.routers.ethereum-sepolia-erigon3-pruned-trace-node.middlewares=ethereum-sepolia-erigon3-pruned-trace-stripprefix, ipwhitelist
volumes:
ethereum-sepolia-erigon3-pruned-trace:
ethereum-sepolia-erigon3-pruned-trace:
x-upstreams:
- chain: sepolia
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
# non standard erigon only
- name: eth_getBlockReceipts
- name: eth_protocolVersion
- name: eth_callMany
- name: eth_callBundle
- name: debug_accountAt
- name: debug_traceCallMany
- name: erigon_getHeaderByHash
- name: erigon_getBlockReceiptsByBlockHash
- name: erigon_getHeaderByNumber
- name: erigon_getLogsByHash
- name: erigon_forks
- name: erigon_getBlockByTimestamp
- name: erigon_BlockNumber
- name: erigon_getLatestLogs

View File

@@ -1,107 +1,133 @@
# use at your own risk
services:
ethereum-holesky:
image: 'ethereum/client-go:${GETH_VERSION:-v1.15.5}'
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_HOLESKY_GETH_VERSION:-v1.15.7}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
sysctls:
net.ipv4.tcp_slow_start_after_idle: 0
net.ipv4.tcp_no_metrics_save: 1
expose:
# 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
expose:
- 8545
- 8551
ports:
- "10993:10993"
- "10993:10993/udp"
environment:
- "GETH_DATADIR=/data"
- "GETH_HOLESKY=true"
- "GETH_GCMODE=full"
- "GETH_SYNCMODE=snap"
- "GETH_STATE_SCHEME=path"
- "GETH_DB_ENGINE=pebble"
- "GETH_NAT=extip:${IP}"
- "GETH_PORT=19809"
- "GETH_WS_PORT=8545"
- "GETH_HTTP=true"
- "GETH_HTTP_ADDR=0.0.0.0"
- "GETH_HTTP_VHOSTS=*"
- "GETH_WS=true"
- "GETH_WS_ADDR=0.0.0.0"
- "GETH_WS_ORIGINS=*"
- "GETH_HTTP_API=eth,net,debug,admin,web3"
- "GETH_AUTHRPC_JWTSECRET=/jwtsecret"
- "GETH_AUTHRPC_ADDR=0.0.0.0"
- "GETH_AUTHRPC_VHOSTS=*"
networks:
- chains
volumes:
- "ethereum-holesky-geth-pruned-pebble-path:/data"
- ".jwtsecret:/jwtsecret:ro"
ports:
- 10993:10993
- 10993:10993/udp
volumes:
- ${ETHEREUM_HOLESKY_GETH_PRUNED_PEBBLE_PATH_DATA:-ethereum-holesky-geth-pruned-pebble-path}:/root/.ethereum
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
command:
- --datadir=/root/.ethereum
- --port=10993
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,net,web3,debug,admin,txpool
- --ws.api=eth,net,web3,debug,admin,txpool
- --rpc.gascap=600000000
- --rpc.returndatalimit=10000000
- --rpc.txfeecap=0
- --db.engine=pebble
- --state.scheme=path
- --syncmode=snap
- --gcmode=full
networks:
- chains
restart: unless-stopped
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-holesky"
- "traefik.http.services.ethereum-holesky-geth-pruned-pebble-path.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)"
- "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.middlewares=ethereum-holesky-geth-pruned-pebble-path-stripprefix, ipwhitelist"
stop_grace_period: 5m
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-holesky
- traefik.http.services.ethereum-holesky-geth-pruned-pebble-path.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=PathPrefix(`/ethereum-holesky`)}
- traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.middlewares=ethereum-holesky-geth-pruned-pebble-path-stripprefix, ipwhitelist
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:-v5.3.1}
ports:
- "15993:15993"
- "15993:15993/udp"
- 15993:15993
- 15993:15993/udp
command:
[
"--holesky",
"--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=15993",
"--p2p-udp-port=15993",
"--checkpoint-sync-url=https://holesky.beaconstate.info",
"--execution-endpoint=http://ethereum-holesky:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-holesky-geth-pruned-pebble-path_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- --holesky
- --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=15993
- --p2p-udp-port=15993
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-holesky:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
volumes:
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_HOLESKY_GETH_PRUNED_PEBBLE_PATH__PRYSM_DATA:-ethereum-holesky-geth-pruned-pebble-path_prysm}:/data
restart: unless-stopped
volumes:
ethereum-holesky-geth-pruned-pebble-path:
ethereum-holesky-geth-pruned-pebble-path_prysm:
x-upstreams:
- id: $${ID}
chain: $${CHAIN}
labels:
provider: $${PROVIDER}
- chain: holesky
method-groups:
enabled:
- debug
- filter
methods:
disabled:
# not compatible with path state scheme
- name: debug_traceBlockByHash
enabled:
- name: txpool_content
connection:
generic:
rpc:
url: "$${RPC_URL}"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "$${WS_URL}"
# standard geth only
- name: debug_getRawBlock
- name: debug_getRawTransaction
- name: debug_getRawReceipts
- name: debug_getRawHeader
- name: debug_getBadBlocks
# non standard geth only slightly dangerous
- name: debug_intermediateRoots
- name: debug_dumpBlock
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex

View File

@@ -1,107 +1,133 @@
# use at your own risk
services:
ethereum-mainnet:
image: 'ethereum/client-go:${GETH_VERSION:-v1.15.5}'
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_MAINNET_GETH_VERSION:-v1.15.7}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
sysctls:
net.ipv4.tcp_slow_start_after_idle: 0
net.ipv4.tcp_no_metrics_save: 1
expose:
# 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
expose:
- 8545
- 8551
ports:
- "10023:10023"
- "10023:10023/udp"
environment:
- "GETH_DATADIR=/data"
- "GETH_MAINNET=true"
- "GETH_GCMODE=full"
- "GETH_SYNCMODE=snap"
- "GETH_STATE_SCHEME=path"
- "GETH_DB_ENGINE=pebble"
- "GETH_NAT=extip:${IP}"
- "GETH_PORT=19809"
- "GETH_WS_PORT=8545"
- "GETH_HTTP=true"
- "GETH_HTTP_ADDR=0.0.0.0"
- "GETH_HTTP_VHOSTS=*"
- "GETH_WS=true"
- "GETH_WS_ADDR=0.0.0.0"
- "GETH_WS_ORIGINS=*"
- "GETH_HTTP_API=eth,net,debug,admin,web3"
- "GETH_AUTHRPC_JWTSECRET=/jwtsecret"
- "GETH_AUTHRPC_ADDR=0.0.0.0"
- "GETH_AUTHRPC_VHOSTS=*"
networks:
- chains
volumes:
- "ethereum-mainnet-geth-pruned-pebble-path:/data"
- ".jwtsecret:/jwtsecret:ro"
ports:
- 10023:10023
- 10023:10023/udp
volumes:
- ${ETHEREUM_MAINNET_GETH_PRUNED_PEBBLE_PATH_DATA:-ethereum-mainnet-geth-pruned-pebble-path}:/root/.ethereum
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
command:
- --datadir=/root/.ethereum
- --port=10023
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,net,web3,debug,admin,txpool
- --ws.api=eth,net,web3,debug,admin,txpool
- --rpc.gascap=600000000
- --rpc.returndatalimit=10000000
- --rpc.txfeecap=0
- --db.engine=pebble
- --state.scheme=path
- --syncmode=snap
- --gcmode=full
networks:
- chains
restart: unless-stopped
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-mainnet"
- "traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)"
- "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.middlewares=ethereum-mainnet-geth-pruned-pebble-path-stripprefix, ipwhitelist"
stop_grace_period: 5m
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-mainnet
- traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=PathPrefix(`/ethereum-mainnet`)}
- traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.middlewares=ethereum-mainnet-geth-pruned-pebble-path-stripprefix, ipwhitelist
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:-v5.3.1}
ports:
- "15023:15023"
- "15023:15023/udp"
- 15023:15023
- 15023:15023/udp
command:
[
"--mainnet",
"--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=15023",
"--p2p-udp-port=15023",
"--checkpoint-sync-url=https://sync-mainnet.beaconcha.in",
"--execution-endpoint=http://ethereum-mainnet:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-mainnet-geth-pruned-pebble-path_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- --mainnet
- --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=15023
- --p2p-udp-port=15023
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-mainnet:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
volumes:
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_MAINNET_GETH_PRUNED_PEBBLE_PATH__PRYSM_DATA:-ethereum-mainnet-geth-pruned-pebble-path_prysm}:/data
restart: unless-stopped
volumes:
ethereum-mainnet-geth-pruned-pebble-path:
ethereum-mainnet-geth-pruned-pebble-path_prysm:
x-upstreams:
- id: $${ID}
chain: $${CHAIN}
labels:
provider: $${PROVIDER}
- chain: ethereum
method-groups:
enabled:
- debug
- filter
methods:
disabled:
# not compatible with path state scheme
- name: debug_traceBlockByHash
enabled:
- name: txpool_content
connection:
generic:
rpc:
url: "$${RPC_URL}"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "$${WS_URL}"
# standard geth only
- name: debug_getRawBlock
- name: debug_getRawTransaction
- name: debug_getRawReceipts
- name: debug_getRawHeader
- name: debug_getBadBlocks
# non standard geth only slightly dangerous
- name: debug_intermediateRoots
- name: debug_dumpBlock
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex

View File

@@ -1,107 +1,133 @@
# use at your own risk
services:
ethereum-sepolia:
image: 'ethereum/client-go:${GETH_VERSION:-v1.15.5}'
image: ${ETHEREUM_GETH_IMAGE:-ethereum/client-go}:${ETHEREUM_SEPOLIA_GETH_VERSION:-v1.15.7}
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
sysctls:
net.ipv4.tcp_slow_start_after_idle: 0
net.ipv4.tcp_no_metrics_save: 1
expose:
# 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
expose:
- 8545
- 8551
ports:
- "10710:10710"
- "10710:10710/udp"
environment:
- "GETH_DATADIR=/data"
- "GETH_SEPOLIA=true"
- "GETH_GCMODE=full"
- "GETH_SYNCMODE=snap"
- "GETH_STATE_SCHEME=path"
- "GETH_DB_ENGINE=pebble"
- "GETH_NAT=extip:${IP}"
- "GETH_PORT=19809"
- "GETH_WS_PORT=8545"
- "GETH_HTTP=true"
- "GETH_HTTP_ADDR=0.0.0.0"
- "GETH_HTTP_VHOSTS=*"
- "GETH_WS=true"
- "GETH_WS_ADDR=0.0.0.0"
- "GETH_WS_ORIGINS=*"
- "GETH_HTTP_API=eth,net,debug,admin,web3"
- "GETH_AUTHRPC_JWTSECRET=/jwtsecret"
- "GETH_AUTHRPC_ADDR=0.0.0.0"
- "GETH_AUTHRPC_VHOSTS=*"
networks:
- chains
volumes:
- "ethereum-sepolia-geth-pruned-pebble-path:/data"
- ".jwtsecret:/jwtsecret:ro"
ports:
- 10710:10710
- 10710:10710/udp
volumes:
- ${ETHEREUM_SEPOLIA_GETH_PRUNED_PEBBLE_PATH_DATA:-ethereum-sepolia-geth-pruned-pebble-path}:/root/.ethereum
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
command:
- --datadir=/root/.ethereum
- --port=10710
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.port=8545
- --ws.origins=*
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --http.api=eth,net,web3,debug,admin,txpool
- --ws.api=eth,net,web3,debug,admin,txpool
- --rpc.gascap=600000000
- --rpc.returndatalimit=10000000
- --rpc.txfeecap=0
- --db.engine=pebble
- --state.scheme=path
- --syncmode=snap
- --gcmode=full
networks:
- chains
restart: unless-stopped
stop_grace_period: 1m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-sepolia"
- "traefik.http.services.ethereum-sepolia-geth-pruned-pebble-path.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)"
- "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.middlewares=ethereum-sepolia-geth-pruned-pebble-path-stripprefix, ipwhitelist"
stop_grace_period: 5m
labels:
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-sepolia
- traefik.http.services.ethereum-sepolia-geth-pruned-pebble-path.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=PathPrefix(`/ethereum-sepolia`)}
- traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.middlewares=ethereum-sepolia-geth-pruned-pebble-path-stripprefix, ipwhitelist
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:-v5.3.1}
ports:
- "15710:15710"
- "15710:15710/udp"
- 15710:15710
- 15710:15710/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=15710",
"--p2p-udp-port=15710",
"--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-geth-pruned-pebble-path_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- --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=15710
- --p2p-udp-port=15710
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-sepolia:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
volumes:
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_SEPOLIA_GETH_PRUNED_PEBBLE_PATH__PRYSM_DATA:-ethereum-sepolia-geth-pruned-pebble-path_prysm}:/data
restart: unless-stopped
volumes:
ethereum-sepolia-geth-pruned-pebble-path:
ethereum-sepolia-geth-pruned-pebble-path_prysm:
x-upstreams:
- id: $${ID}
chain: $${CHAIN}
labels:
provider: $${PROVIDER}
- chain: sepolia
method-groups:
enabled:
- debug
- filter
methods:
disabled:
# not compatible with path state scheme
- name: debug_traceBlockByHash
enabled:
- name: txpool_content
connection:
generic:
rpc:
url: "$${RPC_URL}"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "$${WS_URL}"
# standard geth only
- name: debug_getRawBlock
- name: debug_getRawTransaction
- name: debug_getRawReceipts
- name: debug_getRawHeader
- name: debug_getBadBlocks
# non standard geth only slightly dangerous
- name: debug_intermediateRoots
- name: debug_dumpBlock
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex

View File

@@ -1,79 +1,113 @@
# use at your own risk
services:
ethereum-holesky-archive:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4}
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_HOLESKY_RETH_VERSION:-v1.3.4}
user: root
volumes:
- "ethereum-holesky-reth-archive-trace:/root/.local/share/reth/holesky"
- "/slowdisk:/slowdisk"
- ".jwtsecret:/jwtsecret:ro"
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- 8545
- 9001
- 8551
ports:
- "10752:10752"
- "10752:10752/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
- 10752:10752
- 10752:10752/udp
volumes:
- ${ETHEREUM_HOLESKY_RETH_ARCHIVE_TRACE_DATA:-ethereum-holesky-reth-archive-trace}:/root/.local/share/reth
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [reth, node]
command:
- --chain=holesky
- --metrics=0.0.0.0:9001
- --datadir=/root/.local/share/reth
- --port=10752
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8545
- --ws.origins=*
- --port=10752
- --discovery.port=10752
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --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
stop_grace_period: 1m
- --chain=holesky
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-holesky-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-archive"
- "traefik.http.services.ethereum-holesky-reth-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-holesky-reth-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-holesky-reth-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-holesky-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive`)"
- "traefik.http.routers.ethereum-holesky-reth-archive-trace.middlewares=ethereum-holesky-reth-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-holesky-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-holesky-archive
- traefik.http.services.ethereum-holesky-reth-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-holesky-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-holesky-reth-archive-trace.rule=PathPrefix(`/ethereum-holesky-archive`)}
- traefik.http.routers.ethereum-holesky-reth-archive-trace.middlewares=ethereum-holesky-reth-archive-trace-stripprefix, ipwhitelist
ethereum-holesky-archive-node:
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_HOLESKY_PRYSM_VERSION:-v5.3.1}
ports:
- 15752:15752
- 15752:15752/udp
command:
- --holesky
- --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=15752
- --p2p-udp-port=15752
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-holesky-archive:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
ethereum-holesky-archive-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1}
ports:
- "15752:15752"
- "15752:15752/udp"
command:
[
"--holesky",
"--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=15752",
"--p2p-udp-port=15752",
"--checkpoint-sync-url=https://holesky.beaconstate.info",
"--execution-endpoint=http://ethereum-holesky-archive:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-holesky-reth-archive-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_HOLESKY_RETH_ARCHIVE_TRACE__PRYSM_DATA:-ethereum-holesky-reth-archive-trace_prysm}:/data
restart: unless-stopped
volumes:
ethereum-holesky-reth-archive-trace:
ethereum-holesky-reth-archive-trace_prysm:
x-upstreams:
- chain: holesky
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:

View File

@@ -1,79 +1,113 @@
# use at your own risk
services:
ethereum-mainnet-archive:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4}
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_MAINNET_RETH_VERSION:-v1.3.4}
user: root
volumes:
- "ethereum-mainnet-reth-archive-trace:/root/.local/share/reth/mainnet"
- "/slowdisk:/slowdisk"
- ".jwtsecret:/jwtsecret:ro"
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- 8545
- 9001
- 8551
ports:
- "10563:10563"
- "10563:10563/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
- 10563:10563
- 10563:10563/udp
volumes:
- ${ETHEREUM_MAINNET_RETH_ARCHIVE_TRACE_DATA:-ethereum-mainnet-reth-archive-trace}:/root/.local/share/reth
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [reth, node]
command:
- --chain=mainnet
- --metrics=0.0.0.0:9001
- --datadir=/root/.local/share/reth
- --port=10563
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8545
- --ws.origins=*
- --port=10563
- --discovery.port=10563
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --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
stop_grace_period: 1m
- --chain=mainnet
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive"
- "traefik.http.services.ethereum-mainnet-reth-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-mainnet-reth-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-mainnet-reth-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive`)"
- "traefik.http.routers.ethereum-mainnet-reth-archive-trace.middlewares=ethereum-mainnet-reth-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-mainnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-mainnet-archive
- traefik.http.services.ethereum-mainnet-reth-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-mainnet-reth-archive-trace.rule=PathPrefix(`/ethereum-mainnet-archive`)}
- traefik.http.routers.ethereum-mainnet-reth-archive-trace.middlewares=ethereum-mainnet-reth-archive-trace-stripprefix, ipwhitelist
ethereum-mainnet-archive-node:
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_MAINNET_PRYSM_VERSION:-v5.3.1}
ports:
- 15563:15563
- 15563:15563/udp
command:
- --mainnet
- --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=15563
- --p2p-udp-port=15563
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-mainnet-archive:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
ethereum-mainnet-archive-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1}
ports:
- "15563:15563"
- "15563:15563/udp"
command:
[
"--mainnet",
"--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=15563",
"--p2p-udp-port=15563",
"--checkpoint-sync-url=https://sync-mainnet.beaconcha.in",
"--execution-endpoint=http://ethereum-mainnet-archive:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-mainnet-reth-archive-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_MAINNET_RETH_ARCHIVE_TRACE__PRYSM_DATA:-ethereum-mainnet-reth-archive-trace_prysm}:/data
restart: unless-stopped
volumes:
ethereum-mainnet-reth-archive-trace:
ethereum-mainnet-reth-archive-trace_prysm:
x-upstreams:
- chain: ethereum
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled:

View File

@@ -1,79 +1,113 @@
# use at your own risk
services:
ethereum-sepolia-archive:
image: ghcr.io/paradigmxyz/reth:${RETH_VERSION:-v1.3.4}
image: ${ETHEREUM_RETH_IMAGE:-ghcr.io/paradigmxyz/reth}:${ETHEREUM_SEPOLIA_RETH_VERSION:-v1.3.4}
user: root
volumes:
- "ethereum-sepolia-reth-archive-trace:/root/.local/share/reth/sepolia"
- "/slowdisk:/slowdisk"
- ".jwtsecret:/jwtsecret:ro"
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
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
expose:
- 8545
- 9001
- 8551
ports:
- "10330:10330"
- "10330:10330/udp"
restart: unless-stopped
entrypoint: ["reth", "node"]
- 10330:10330
- 10330:10330/udp
volumes:
- ${ETHEREUM_SEPOLIA_RETH_ARCHIVE_TRACE_DATA:-ethereum-sepolia-reth-archive-trace}:/root/.local/share/reth
- /slowdisk:/slowdisk
- .jwtsecret:/jwtsecret:ro
entrypoint: [reth, node]
command:
- --chain=sepolia
- --metrics=0.0.0.0:9001
- --datadir=/root/.local/share/reth
- --port=10330
- --bind=0.0.0.0
- --nat=extip:${IP}
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --http.vhosts=*
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8545
- --ws.origins=*
- --port=10330
- --discovery.port=10330
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --ws.addr=0.0.0.0
- --http.addr=0.0.0.0
- --maxpeers=50
- --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
stop_grace_period: 1m
- --chain=sepolia
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ethereum-sepolia-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-archive"
- "traefik.http.services.ethereum-sepolia-reth-archive-trace.loadbalancer.server.port=8545"
- "traefik.http.routers.ethereum-sepolia-reth-archive-trace.entrypoints=websecure"
- "traefik.http.routers.ethereum-sepolia-reth-archive-trace.tls.certresolver=myresolver"
- "traefik.http.routers.ethereum-sepolia-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive`)"
- "traefik.http.routers.ethereum-sepolia-reth-archive-trace.middlewares=ethereum-sepolia-reth-archive-trace-stripprefix, ipwhitelist"
- traefik.enable=true
- traefik.http.middlewares.ethereum-sepolia-reth-archive-trace-stripprefix.stripprefix.prefixes=/ethereum-sepolia-archive
- traefik.http.services.ethereum-sepolia-reth-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ethereum-sepolia-reth-archive-trace.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia-archive`)}
- ${NO_SSL:+traefik.http.routers.ethereum-sepolia-reth-archive-trace.rule=PathPrefix(`/ethereum-sepolia-archive`)}
- traefik.http.routers.ethereum-sepolia-reth-archive-trace.middlewares=ethereum-sepolia-reth-archive-trace-stripprefix, ipwhitelist
ethereum-sepolia-archive-node:
image: ${ETHEREUM_PRYSM_IMAGE:-prysmaticlabs/prysm-beacon-chain}:${ETHEREUM_SEPOLIA_PRYSM_VERSION:-v5.3.1}
ports:
- 15330:15330
- 15330:15330/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=15330
- --p2p-udp-port=15330
- --checkpoint-sync-url=
- --execution-endpoint=http://ethereum-sepolia-archive:8551
- --enable-historical-state-representation=false
- --beacon-db-pruning
- --accept-terms-of-use
networks:
- chains
ethereum-sepolia-archive-node:
image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1}
ports:
- "15330:15330"
- "15330:15330/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=15330",
"--p2p-udp-port=15330",
"--checkpoint-sync-url=https://sepolia.beaconstate.info",
"--execution-endpoint=http://ethereum-sepolia-archive:8551",
"--enable-historical-state-representation=false",
"--beacon-db-pruning",
"--accept-terms-of-use"
]
networks:
- chains
volumes:
- "ethereum-sepolia-reth-archive-trace_prysm:/data"
- ".jwtsecret:/jwtsecret:ro"
restart: unless-stopped
- .jwtsecret:/jwtsecret:ro
- ${ETHEREUM_SEPOLIA_RETH_ARCHIVE_TRACE__PRYSM_DATA:-ethereum-sepolia-reth-archive-trace_prysm}:/data
restart: unless-stopped
volumes:
ethereum-sepolia-reth-archive-trace:
ethereum-sepolia-reth-archive-trace_prysm:
x-upstreams:
- chain: sepolia
method-groups:
enabled:
- debug
- filter
- trace
methods:
disabled:
enabled: