some progress
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user