Compare commits

..
Author SHA1 Message Date
claude a7135129eb fix: use admin_addPeer for op-geth peer reconciliation
op-geth does not support admin_addStaticPeer; classify op-geth via
compose path (admin_nodeInfo often still says Geth) and fall back on
go-ethereum-style "does not exist/is not available" errors so reinject
and connect-peers restore peers (e.g. hashkey-mainnet).
2026-07-30 11:58:12 +00:00
84 changed files with 288 additions and 1282 deletions
+3 -6
View File
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
arc-mainnet-archive-consensus-init: arc-mainnet-archive-consensus-init:
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-v0.7.3} image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.7.2}
user: 0:0 user: 0:0
entrypoint: [/usr/local/bin/arc-node-consensus, init] entrypoint: [/usr/local/bin/arc-node-consensus, init]
command: command:
@@ -57,7 +57,7 @@ services:
logging: *logging-defaults logging: *logging-defaults
arc-mainnet-archive: arc-mainnet-archive:
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-v0.7.3} image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-0.7.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -119,7 +119,7 @@ services:
shm_size: 2gb shm_size: 2gb
arc-mainnet-archive-node: arc-mainnet-archive-node:
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-v0.7.3} image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.7.2}
user: 0:0 user: 0:0
expose: expose:
- 31000 - 31000
@@ -160,9 +160,6 @@ volumes:
arc-mainnet-reth-archive-trace-execution: arc-mainnet-reth-archive-trace-execution:
arc-mainnet-reth-archive-trace-sockets: arc-mainnet-reth-archive-trace-sockets:
x-ephemeral-volumes:
- arc-mainnet-reth-archive-trace-sockets
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
labels: labels:
+3 -6
View File
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
arc-mainnet-consensus-init: arc-mainnet-consensus-init:
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-v0.7.3} image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.7.2}
user: 0:0 user: 0:0
entrypoint: [/usr/local/bin/arc-node-consensus, init] entrypoint: [/usr/local/bin/arc-node-consensus, init]
command: command:
@@ -57,7 +57,7 @@ services:
logging: *logging-defaults logging: *logging-defaults
arc-mainnet: arc-mainnet:
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-v0.7.3} image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-0.7.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -120,7 +120,7 @@ services:
shm_size: 2gb shm_size: 2gb
arc-mainnet-node: arc-mainnet-node:
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-v0.7.3} image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.7.2}
user: 0:0 user: 0:0
expose: expose:
- 31000 - 31000
@@ -161,9 +161,6 @@ volumes:
arc-mainnet-reth-pruned-trace-execution: arc-mainnet-reth-pruned-trace-execution:
arc-mainnet-reth-pruned-trace-sockets: arc-mainnet-reth-pruned-trace-sockets:
x-ephemeral-volumes:
- arc-mainnet-reth-pruned-trace-sockets
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
labels: labels:
@@ -160,9 +160,6 @@ volumes:
arc-testnet-reth-archive-trace-execution: arc-testnet-reth-archive-trace-execution:
arc-testnet-reth-archive-trace-sockets: arc-testnet-reth-archive-trace-sockets:
x-ephemeral-volumes:
- arc-testnet-reth-archive-trace-sockets
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
labels: labels:
@@ -161,9 +161,6 @@ volumes:
arc-testnet-reth-pruned-trace-execution: arc-testnet-reth-pruned-trace-execution:
arc-testnet-reth-pruned-trace-sockets: arc-testnet-reth-pruned-trace-sockets:
x-ephemeral-volumes:
- arc-testnet-reth-pruned-trace-sockets
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
labels: labels:
-3
View File
@@ -161,9 +161,6 @@ volumes:
arc-testnet-reth-pruned-execution: arc-testnet-reth-pruned-execution:
arc-testnet-reth-pruned-sockets: arc-testnet-reth-pruned-sockets:
x-ephemeral-volumes:
- arc-testnet-reth-pruned-sockets
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
labels: labels:
-7
View File
@@ -157,16 +157,9 @@ for key in $keys; do
folder_size_gb=$(printf "%.0f" "$folder_size") folder_size_gb=$(printf "%.0f" "$folder_size")
if (( folder_size_gb < 1 )) && [[ "$FORCE_SMALL" != true ]]; then if (( folder_size_gb < 1 )) && [[ "$FORCE_SMALL" != true ]]; then
# The torn-backup floor applies to the MAIN data volume only (key == compose
# basename). Sidecar volumes (eigenda-proxy, configs, ...) are legitimately
# tiny — a 0G sidecar aborting the whole backup left no manifest and blocked
# the refresh lane on every ronin bench-retire (4 cycles, 2026-07).
if [[ "$key" == "$(basename "$compose_name")" ]]; then
echo "FATAL: existing datadir too small for backup (${folder_size_gb}G at $source_folder); use --force if intentional" >&2 echo "FATAL: existing datadir too small for backup (${folder_size_gb}G at $source_folder); use --force if intentional" >&2
exit 1 exit 1
fi fi
echo "NOTE: sidecar volume rpc_$key is ${folder_size_gb}G — allowing small backup (floor guards the main data volume only)"
fi
timestamp=$(date +'%Y-%m-%d-%H-%M-%S') timestamp=$(date +'%Y-%m-%d-%H-%M-%S')
target_file="rpc_$key-${timestamp}-${folder_size_gb}G.tar.zst" target_file="rpc_$key-${timestamp}-${folder_size_gb}G.tar.zst"
+2 -18
View File
@@ -298,7 +298,6 @@ cleanup_all_ports() {
# Transfer backup file using screen method with better error handling # Transfer backup file using screen method with better error handling
transfer_backup() { transfer_backup() {
local key=$1 local key=$1
local compose_file=$2
local volume_name="rpc_$key" local volume_name="rpc_$key"
# Find the newest restorable backup file (skip near-empty artifacts) # Find the newest restorable backup file (skip near-empty artifacts)
@@ -310,13 +309,6 @@ transfer_backup() {
echo "Note: no backup for secrets/jwt volume $volume_name (regenerated at create-node), skipping" echo "Note: no backup for secrets/jwt volume $volume_name (regenerated at create-node), skipping"
return 2 return 2
fi fi
# Check if this volume is optional or ephemeral - if so, skip gracefully
if [[ -n "$compose_file" && -f "$compose_file" ]]; then
if is_ephemeral_volume_key "$key" "$compose_file" || is_optional_volume_key "$key" "$compose_file"; then
echo "Note: no backup for optional/ephemeral volume $volume_name (will be created empty at destination), skipping"
return 2
fi
fi
echo "Warning: No restorable backup file found for $volume_name, skipping" echo "Warning: No restorable backup file found for $volume_name, skipping"
return 1 return 1
fi fi
@@ -510,7 +502,6 @@ LISTENER
# Fallback: Direct SSH pipe # Fallback: Direct SSH pipe
transfer_backup_ssh() { transfer_backup_ssh() {
local key=$1 local key=$1
local compose_file=$2
local volume_name="rpc_$key" local volume_name="rpc_$key"
# Find the newest restorable backup file (skip near-empty artifacts) # Find the newest restorable backup file (skip near-empty artifacts)
@@ -522,13 +513,6 @@ transfer_backup_ssh() {
echo "Note: no backup for secrets/jwt volume $volume_name (regenerated at create-node), skipping" echo "Note: no backup for secrets/jwt volume $volume_name (regenerated at create-node), skipping"
return 2 return 2
fi fi
# Check if this volume is optional or ephemeral - if so, skip gracefully
if [[ -n "$compose_file" && -f "$compose_file" ]]; then
if is_ephemeral_volume_key "$key" "$compose_file" || is_optional_volume_key "$key" "$compose_file"; then
echo "Note: no backup for optional/ephemeral volume $volume_name (will be created empty at destination), skipping"
return 2
fi
fi
echo "Warning: No restorable backup file found for $volume_name, skipping" echo "Warning: No restorable backup file found for $volume_name, skipping"
return 1 return 1
fi fi
@@ -658,7 +642,7 @@ main() {
for key in $keys; do for key in $keys; do
# Try nc method first # Try nc method first
transfer_backup "$key" "$dir/$1.yml" transfer_backup "$key"
rc=$? rc=$?
if [[ $rc -eq 2 ]]; then if [[ $rc -eq 2 ]]; then
@@ -666,7 +650,7 @@ main() {
skipped_volumes="$skipped_volumes $key" skipped_volumes="$skipped_volumes $key"
elif [[ $rc -ne 0 ]]; then elif [[ $rc -ne 0 ]]; then
echo "NC transfer failed, trying direct SSH..." echo "NC transfer failed, trying direct SSH..."
transfer_backup_ssh "$key" "$dir/$1.yml" transfer_backup_ssh "$key"
rc=$? rc=$?
if [[ $rc -eq 0 ]]; then if [[ $rc -eq 0 ]]; then
+25 -620
View File
File diff suppressed because it is too large Load Diff
+18 -10
View File
@@ -318,12 +318,19 @@ check_rpc_success() {
return 1 return 1
} }
# Function to detect client type from node name # Function to detect client type from node name (+ optional compose path hint).
# op-geth often still reports admin_nodeInfo.name as "Geth/…", so the compose
# path (…/op-geth/… or *-op-geth-*) is the reliable signal.
detect_client_type() { detect_client_type() {
local node_name="$1" local node_name="$1"
local compose_hint="${2:-}"
local name_lower=$(echo "$node_name" | tr '[:upper:]' '[:lower:]') local name_lower=$(echo "$node_name" | tr '[:upper:]' '[:lower:]')
local hint_lower=$(echo "$compose_hint" | tr '[:upper:]' '[:lower:]')
if [[ "$name_lower" == *"geth"* ]]; then # op-geth lacks admin_addStaticPeer — must use admin_addPeer
if [[ "$name_lower" == *"op-geth"* ]] || [[ "$hint_lower" == *"op-geth"* ]]; then
echo "op-geth"
elif [[ "$name_lower" == *"geth"* ]]; then
echo "geth" echo "geth"
elif [[ "$name_lower" == *"reth"* ]]; then elif [[ "$name_lower" == *"reth"* ]]; then
echo "reth" echo "reth"
@@ -346,12 +353,12 @@ add_static_peer() {
local response local response
local method local method
# Determine which method to try first based on client type # Determine which method to try first based on client type.
# Only vanilla geth supports admin_addStaticPeer; op-geth does not.
if [[ "$client_type" == "geth" ]]; then if [[ "$client_type" == "geth" ]]; then
# Geth supports admin_addStaticPeer
method="admin_addStaticPeer" method="admin_addStaticPeer"
else else
# Reth and most other clients use admin_addPeer # op-geth, reth, and most other clients use admin_addPeer
method="admin_addPeer" method="admin_addPeer"
fi fi
@@ -364,10 +371,11 @@ add_static_peer() {
return 1 return 1
} }
# Check if method not found, try fallback # Fallback when the primary method is unsupported. go-ethereum-style errors
if echo "$response" | grep -qi "method not found"; then # say "the method X does not exist/is not available", not "method not found".
if echo "$response" | grep -qiE 'method not found|does not exist|not available|-32601'; then
if [[ "$method" == "admin_addStaticPeer" ]]; then if [[ "$method" == "admin_addStaticPeer" ]]; then
# Try admin_addPeer as fallback # Try admin_addPeer as fallback (required for op-geth)
method="admin_addPeer" method="admin_addPeer"
response=$(curl --ipv4 -s -X POST "$url" \ response=$(curl --ipv4 -s -X POST "$url" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
@@ -425,7 +433,7 @@ echo -e "${GREEN}OK${NC}"
SOURCE_ENODE=$(extract_enode "$SOURCE_INFO") SOURCE_ENODE=$(extract_enode "$SOURCE_INFO")
SOURCE_NAME=$(extract_name "$SOURCE_INFO") SOURCE_NAME=$(extract_name "$SOURCE_INFO")
SOURCE_PUBKEY=$(echo "$SOURCE_ENODE" | sed -E 's|enode://([^@]+)@.*|\1|') SOURCE_PUBKEY=$(echo "$SOURCE_ENODE" | sed -E 's|enode://([^@]+)@.*|\1|')
SOURCE_CLIENT=$(detect_client_type "$SOURCE_NAME") SOURCE_CLIENT=$(detect_client_type "$SOURCE_NAME" "$COMPOSE_FILE")
if [[ -z "$SOURCE_ENODE" ]]; then if [[ -z "$SOURCE_ENODE" ]]; then
echo -e "${RED}Could not extract enode from source${NC}" echo -e "${RED}Could not extract enode from source${NC}"
@@ -457,7 +465,7 @@ echo -e "${GREEN}OK${NC}"
TARGET_ENODE=$(extract_enode "$TARGET_INFO") TARGET_ENODE=$(extract_enode "$TARGET_INFO")
TARGET_NAME=$(extract_name "$TARGET_INFO") TARGET_NAME=$(extract_name "$TARGET_INFO")
TARGET_PUBKEY=$(echo "$TARGET_ENODE" | sed -E 's|enode://([^@]+)@.*|\1|') TARGET_PUBKEY=$(echo "$TARGET_ENODE" | sed -E 's|enode://([^@]+)@.*|\1|')
TARGET_CLIENT=$(detect_client_type "$TARGET_NAME") TARGET_CLIENT=$(detect_client_type "$TARGET_NAME" "$TARGET_COMPOSE_FILE")
if [[ -z "$TARGET_ENODE" ]]; then if [[ -z "$TARGET_ENODE" ]]; then
echo -e "${RED}Could not extract enode from target${NC}" echo -e "${RED}Could not extract enode from target${NC}"
+1 -1
View File
@@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.2 # syntax = docker/dockerfile:1.2
ARG REPO=https://github.com/erigontech/erigon.git ARG REPO=https://github.com/erigontech/erigon.git
ARG VERSION=v3.5.3 ARG VERSION=v3.4.4
ARG COMMIT=${COMMIT:-${VERSION}} ARG COMMIT=${COMMIT:-${VERSION}}
FROM docker.io/library/golang:1.24.1-alpine3.20 AS builder FROM docker.io/library/golang:1.24.1-alpine3.20 AS builder
@@ -189,15 +189,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-besu-pruned-bonsai_nimbus]
... ...
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-hoodi-erigon3-archive: ethereum-hoodi-erigon3-archive:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-hoodi-erigon3-minimal: ethereum-hoodi-erigon3-minimal:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-hoodi-erigon3: ethereum-hoodi-erigon3:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-mainnet-erigon3-archive: ethereum-mainnet-erigon3-archive:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-mainnet-erigon3-minimal: ethereum-mainnet-erigon3-minimal:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-mainnet-erigon3: ethereum-mainnet-erigon3:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-sepolia-erigon3-archive: ethereum-sepolia-erigon3-archive:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-sepolia-erigon3-minimal: ethereum-sepolia-erigon3-minimal:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ethereum-sepolia-erigon3: ethereum-sepolia-erigon3:
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -195,15 +195,8 @@ x-upstreams:
chain: eth-beacon-chain-hoodi chain: eth-beacon-chain-hoodi
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-hoodi-geth-pruned-pebble-path_nimbus]
... ...
@@ -196,15 +196,8 @@ x-upstreams:
chain: eth-beacon-chain-hoodi chain: eth-beacon-chain-hoodi
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-hoodi-geth-pruned-pebble-path_prysm]
... ...
@@ -200,15 +200,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-geth-minimal-pebble-path_prysm]
... ...
@@ -259,15 +259,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-geth-pruned-leveldb-hash_nimbus]
... ...
@@ -261,15 +261,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-geth-pruned-pebble-path_nimbus]
... ...
@@ -195,15 +195,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-geth-pruned-pebble-path_nimbus]
... ...
@@ -196,15 +196,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-geth-pruned-pebble-path_prysm]
... ...
@@ -195,15 +195,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-geth-pruned-pebble-path_nimbus]
... ...
@@ -196,15 +196,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-geth-pruned-pebble-path_prysm]
... ...
@@ -169,15 +169,8 @@ x-upstreams:
chain: eth-beacon-chain-hoodi chain: eth-beacon-chain-hoodi
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-hoodi-nethermind-pruned-rocksdb-trace_nimbus]
... ...
@@ -169,15 +169,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-nethermind-pruned-rocksdb-trace_nimbus]
... ...
@@ -169,15 +169,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-nethermind-pruned-rocksdb-trace_nimbus]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: eth-beacon-chain-hoodi chain: eth-beacon-chain-hoodi
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-hoodi-reth-archive-trace_prysm]
... ...
@@ -185,15 +185,8 @@ x-upstreams:
chain: eth-beacon-chain-hoodi chain: eth-beacon-chain-hoodi
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-hoodi-reth-pruned-trace_prysm]
... ...
@@ -191,15 +191,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-archive-trace_lighthouse-pruned-blobs]
... ...
@@ -183,15 +183,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-archive-trace_nimbus]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-archive-trace_prysm]
... ...
@@ -242,15 +242,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-minimal-trace_nimbus]
... ...
@@ -190,15 +190,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-pruned-trace_lighthouse]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-pruned-trace_nimbus]
... ...
@@ -185,15 +185,8 @@ x-upstreams:
chain: eth-beacon-chain chain: eth-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-mainnet-reth-pruned-trace_prysm]
... ...
@@ -183,15 +183,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-reth-archive-trace_nimbus]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-reth-archive-trace_prysm]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-reth-pruned-trace_nimbus]
... ...
@@ -185,15 +185,8 @@ x-upstreams:
chain: eth-beacon-chain-sepolia chain: eth-beacon-chain-sepolia
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [ethereum-sepolia-reth-pruned-trace_prysm]
... ...
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-chiado-erigon3-archive: gnosis-chiado-erigon3-archive:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-chiado-erigon3-minimal: gnosis-chiado-erigon3-minimal:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-chiado-erigon3: gnosis-chiado-erigon3:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-mainnet-erigon3-archive: gnosis-mainnet-erigon3-archive:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-mainnet-erigon3-minimal: gnosis-mainnet-erigon3-minimal:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
gnosis-mainnet-erigon3: gnosis-mainnet-erigon3:
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -171,15 +171,8 @@ x-upstreams:
chain: gnosis-beacon-chain-chiado chain: gnosis-beacon-chain-chiado
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-chiado-nethermind-archive-rocksdb-trace_nimbus]
... ...
@@ -174,15 +174,8 @@ x-upstreams:
chain: gnosis-beacon-chain-chiado chain: gnosis-beacon-chain-chiado
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-chiado-nethermind-minimal-rocksdb-trace_nimbus]
... ...
@@ -169,15 +169,8 @@ x-upstreams:
chain: gnosis-beacon-chain-chiado chain: gnosis-beacon-chain-chiado
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-chiado-nethermind-pruned-rocksdb-trace_nimbus]
... ...
@@ -171,15 +171,8 @@ x-upstreams:
chain: gnosis-beacon-chain chain: gnosis-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-mainnet-nethermind-archive-rocksdb-trace_nimbus]
... ...
@@ -174,15 +174,8 @@ x-upstreams:
chain: gnosis-beacon-chain chain: gnosis-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-mainnet-nethermind-minimal-rocksdb-trace_nimbus]
... ...
@@ -169,15 +169,8 @@ x-upstreams:
chain: gnosis-beacon-chain chain: gnosis-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-mainnet-nethermind-pruned-rocksdb-trace_nimbus]
... ...
@@ -183,15 +183,8 @@ x-upstreams:
chain: gnosis-beacon-chain-chiado chain: gnosis-beacon-chain-chiado
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-chiado-reth-archive-trace_nimbus]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: gnosis-beacon-chain-chiado chain: gnosis-beacon-chain-chiado
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-chiado-reth-pruned-trace_nimbus]
... ...
@@ -183,15 +183,8 @@ x-upstreams:
chain: gnosis-beacon-chain chain: gnosis-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-mainnet-reth-archive-trace_nimbus]
... ...
@@ -184,15 +184,8 @@ x-upstreams:
chain: gnosis-beacon-chain chain: gnosis-beacon-chain
labels: labels:
provider: $${PROVIDER}-beacon-chain provider: $${PROVIDER}-beacon-chain
options:
# dshackle 0.79.10's beacon health validator times out on the spec-compliant
# empty-body 200 from /eth/v1/node/health (nimbus), flapping the upstream
# UNAVAILABLE and failing live requests ("Source was empty"). Head tracking
# still governs health with validation off. 2026-07-10, dRPC incident.
disable-validation: true
connection: connection:
generic: generic:
rpc: rpc:
url: $${RPC_URL} url: $${RPC_URL}
x-optional-volumes: [gnosis-mainnet-reth-pruned-trace_nimbus]
... ...
@@ -32,7 +32,7 @@ x-logging-defaults: &logging-defaults
services: services:
immutable-zkevm-mainnet-geth: immutable-zkevm-mainnet-geth:
image: ${IMMUTABLE_ZKEVM_GETH_IMAGE:-ethereum/client-go}:${IMMUTABLE_ZKEVM_MAINNET_GETH_VERSION:-v1.17.5} image: ${IMMUTABLE_ZKEVM_GETH_IMAGE:-ethereum/client-go}:${IMMUTABLE_ZKEVM_MAINNET_GETH_VERSION:-v1.17.4}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-mainnet-erigon3-archive: linea-mainnet-erigon3-archive:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-mainnet-erigon3-minimal: linea-mainnet-erigon3-minimal:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-mainnet-erigon3: linea-mainnet-erigon3:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-sepolia-erigon3-archive: linea-sepolia-erigon3-archive:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-sepolia-erigon3-minimal: linea-sepolia-erigon3-minimal:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
linea-sepolia-erigon3: linea-sepolia-erigon3:
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.3} image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
+7 -11
View File
@@ -1,14 +1,10 @@
# [linea] finalization provider DISABLED (2026-07-31): Maru CL stuck at slot # Uncomment the below [linea] section for finalized L2 block tag
# 6764022 with EL head ~24k behind tip; Maru sent FCU finalized ahead of EL [linea]
# head → Besu -38002 Invalid forkchoice. Maru has no linea.enabled flag — contract-address = "0xd19d4B5d358258f05D7B411E21A1460D11B0876F"
# presence of [linea] enables the provider; comment out to disable. Re-enable l1-eth-api = { endpoint = "${L1_RPC}" }
# (uncomment) once EL has caught tip. l1-polling-interval = "6 seconds"
# [linea] l1-highest-block-tag = "finalized"
# contract-address = "0xd19d4B5d358258f05D7B411E21A1460D11B0876F" l2-eth-api-endpoint = { endpoint = "${SEQUENCER}" }
# l1-eth-api = { endpoint = "${L1_RPC}" }
# l1-polling-interval = "6 seconds"
# l1-highest-block-tag = "finalized"
# l2-eth-api-endpoint = { endpoint = "${SEQUENCER}" }
[persistence] [persistence]
data-path = "/opt/maru/data" data-path = "/opt/maru/data"
+2 -20
View File
@@ -13,20 +13,6 @@
dir="$(dirname "$0")" dir="$(dirname "$0")"
source "$dir/volume-utils.sh" source "$dir/volume-utils.sh"
# Get required persistent volume keys (all volumes minus ephemeral minus optional)
get_required_volume_keys() {
local compose_file=$1
local key
while IFS= read -r key; do
[[ -z "$key" ]] && continue
# Skip if ephemeral or optional
if ! is_ephemeral_volume_key "$key" "$compose_file" && ! is_optional_volume_key "$key" "$compose_file"; then
echo "$key"
fi
done < <(get_volume_keys "$compose_file")
}
registry_file="${dir}/compose_registry.json" registry_file="${dir}/compose_registry.json"
backup_dir="/backup" backup_dir="/backup"
@@ -121,6 +107,7 @@ while IFS= read -r entry; do
fi fi
compose_file=$(echo "$entry" | jq -r '.compose_file') compose_file=$(echo "$entry" | jq -r '.compose_file')
volumes=$(echo "$entry" | jq -r '.volumes[]')
# Check if compose file exists # Check if compose file exists
compose_path="${dir}/${compose_file}.yml" compose_path="${dir}/${compose_file}.yml"
@@ -128,16 +115,11 @@ while IFS= read -r entry; do
continue continue
fi fi
# Check each required volume for backup file # Check each volume for backup file
all_backups_exist=true all_backups_exist=true
missing_volumes=() missing_volumes=()
backup_info=() backup_info=()
# Required persistent volumes only (exclude ephemeral + optional).
# Must feed the loop via done<<< / done< <(...) — putting < <(...) on
# `read` re-runs the producer every iteration and infinite-loops on the
# first key (vibe regression 2026-08-04 d896378e).
volumes=$(get_required_volume_keys "$compose_path")
while IFS= read -r volume; do while IFS= read -r volume; do
volume_name="rpc_${volume}" volume_name="rpc_${volume}"
# jwt/secrets volumes are regenerated at create-node — never backed up by # jwt/secrets volumes are regenerated at create-node — never backed up by
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
# ... # ...
# IP=$(curl ipinfo.io/ip) # IP=$(curl ipinfo.io/ip)
# DOMAIN=${IP}.traefik.me # DOMAIN=${IP}.traefik.me
# COMPOSE_FILE=base.yml:rpc.yml:op/erigon/soneium-miniato-sepolia-op-erigon-archive-trace.yml # COMPOSE_FILE=base.yml:rpc.yml:op/erigon/soneium-minato-sepolia-op-erigon-archive-trace.yml
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/soneium-miniato-sepolia-op-erigon \ # curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-erigon \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services: services:
soneium-miniato-sepolia-op-erigon: soneium-minato-sepolia-op-erigon:
image: ${SONEIUM_ERIGON_IMAGE:-testinprod/op-erigon}:${SONEIUM_MINIATO_SEPOLIA_ERIGON_VERSION:-v2.61.3-0.10.1} image: ${SONEIUM_ERIGON_IMAGE:-testinprod/op-erigon}:${SONEIUM_MINATO_SEPOLIA_ERIGON_VERSION:-v2.61.3-0.10.1}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -47,28 +47,28 @@ services:
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX) memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
ports: ports:
- 14735:14735 - 12283:12283
- 14735:14735/udp - 12283:12283/udp
- 34735:34735 - 32283:32283
- 34735:34735/udp - 32283:32283/udp
- 39735:39735 - 37283:37283
- 39735:39735/udp - 37283:37283/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
- 8551 - 8551
entrypoint: [erigon] entrypoint: [erigon]
command: command:
- --chain=soneium-miniato-sepolia - --chain=soneium-minato-sepolia
- --datadir=/root/.local/share/erigon - --datadir=/root/.local/share/erigon
- --maxpeers=50 - --maxpeers=50
- --metrics - --metrics
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nat=extip:${IP}
- --p2p.allowed-ports=34735 - --p2p.allowed-ports=32283
- --p2p.allowed-ports=39735 - --p2p.allowed-ports=37283
- --port=14735 - --port=12283
- --rollup.sequencerhttp=https://rpc.soneium.org - --rollup.sequencerhttp=https://rpc.soneium.org
- --rpc.gascap=6000000000 - --rpc.gascap=6000000000
- --rpc.returndata.limit=1500000 - --rpc.returndata.limit=1500000
@@ -87,7 +87,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${SONEIUM_MINIATO_SEPOLIA_OP_ERIGON_ARCHIVE_TRACE_DATA:-soneium-miniato-sepolia-op-erigon-archive-trace}:/root/.local/share/erigon - ${SONEIUM_MINATO_SEPOLIA_OP_ERIGON_ARCHIVE_TRACE_DATA:-soneium-minato-sepolia-op-erigon-archive-trace}:/root/.local/share/erigon
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -96,41 +96,41 @@ services:
- prometheus-scrape.port=6060 - prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus - prometheus-scrape.path=/debug/metrics/prometheus
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-erigon-archive-trace-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-erigon - traefik.http.middlewares.soneium-minato-sepolia-op-erigon-archive-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-erigon
- traefik.http.services.soneium-miniato-sepolia-op-erigon-archive-trace.loadbalancer.server.port=8545 - traefik.http.services.soneium-minato-sepolia-op-erigon-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-miniato-sepolia-op-erigon`) || Path(`/soneium-miniato-sepolia-op-erigon/`))} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-erigon`) || Path(`/soneium-minato-sepolia-op-erigon/`))}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace.rule=Path(`/soneium-miniato-sepolia-op-erigon`) || Path(`/soneium-miniato-sepolia-op-erigon/`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.rule=Path(`/soneium-minato-sepolia-op-erigon`) || Path(`/soneium-minato-sepolia-op-erigon/`)}
- traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace.middlewares=soneium-miniato-sepolia-op-erigon-archive-trace-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.middlewares=soneium-minato-sepolia-op-erigon-archive-trace-stripprefix, ipallowlist
shm_size: 2gb shm_size: 2gb
soneium-miniato-sepolia-op-erigon-node: soneium-minato-sepolia-op-erigon-node:
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINIATO_SEPOLIA_NODE_VERSION:-v1.19.2} image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
ports: ports:
- 19735:19735 - 17283:17283
- 19735:19735/udp - 17283:17283/udp
environment: environment:
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER} - OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINIATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard} - OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret - OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_KIND=erigon - OP_NODE_L2_ENGINE_KIND=erigon
- OP_NODE_L2_ENGINE_RPC=http://soneium-miniato-sepolia-op-erigon:8551 - OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-erigon:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s - OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true - OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info - OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0 - OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true - OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300 - OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=soneium-miniato-sepolia - OP_NODE_NETWORK=soneium-minato-sepolia
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400 - OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP} - OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0 - OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=19735 - OP_NODE_P2P_LISTEN_TCP_PORT=17283
- OP_NODE_P2P_LISTEN_UDP_PORT=19735 - OP_NODE_P2P_LISTEN_UDP_PORT=17283
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true - OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
@@ -140,7 +140,7 @@ services:
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
soneium-miniato-sepolia-op-erigon: soneium-minato-sepolia-op-erigon:
condition: service_started condition: service_started
restart: true restart: true
networks: networks:
@@ -153,16 +153,16 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-erigon-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-erigon/node - traefik.http.middlewares.soneium-minato-sepolia-op-erigon-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-erigon/node
- traefik.http.services.soneium-miniato-sepolia-op-erigon-archive-trace-node.loadbalancer.server.port=9545 - traefik.http.services.soneium-minato-sepolia-op-erigon-archive-trace-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace-node.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace-node.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-miniato-sepolia-op-erigon/node`)} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-erigon/node`)}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace-node.rule=PathPrefix(`/soneium-miniato-sepolia-op-erigon/node`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-erigon/node`)}
- traefik.http.routers.soneium-miniato-sepolia-op-erigon-archive-trace-node.middlewares=soneium-miniato-sepolia-op-erigon-archive-trace-node-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.middlewares=soneium-minato-sepolia-op-erigon-archive-trace-node-stripprefix, ipallowlist
volumes: volumes:
soneium-miniato-sepolia-op-erigon-archive-trace: soneium-minato-sepolia-op-erigon-archive-trace:
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
# ... # ...
# IP=$(curl ipinfo.io/ip) # IP=$(curl ipinfo.io/ip)
# DOMAIN=${IP}.traefik.me # DOMAIN=${IP}.traefik.me
# COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-miniato-sepolia-op-geth-archive-leveldb-hash.yml # COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-minato-sepolia-op-geth-archive-leveldb-hash.yml
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/soneium-miniato-sepolia-archive \ # curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-archive \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services: services:
soneium-miniato-sepolia-archive: soneium-minato-sepolia-archive:
image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINIATO_SEPOLIA_GETH_VERSION:-v1.101702.2} image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINATO_SEPOLIA_GETH_VERSION:-v1.101702.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -46,14 +46,14 @@ services:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports: ports:
- 13664:13664 - 11279:11279
- 13664:13664/udp - 11279:11279/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
- 8551 - 8551
environment: environment:
- GETH_OP_NETWORK=soneium-miniato-sepolia - GETH_OP_NETWORK=soneium-minato-sepolia
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org - GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org
entrypoint: /bin/sh -c 'exec geth "$@"' -- entrypoint: /bin/sh -c 'exec geth "$@"' --
@@ -66,7 +66,7 @@ services:
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=13664 - --port=11279
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=hash - --state.scheme=hash
@@ -89,7 +89,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${SONEIUM_MINIATO_SEPOLIA_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-soneium-miniato-sepolia-op-geth-archive-leveldb-hash}:/data - ${SONEIUM_MINATO_SEPOLIA_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-soneium-minato-sepolia-op-geth-archive-leveldb-hash}:/data
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -98,39 +98,39 @@ services:
- prometheus-scrape.port=6060 - prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus - prometheus-scrape.path=/debug/metrics/prometheus
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-archive - traefik.http.middlewares.soneium-minato-sepolia-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-archive
- traefik.http.services.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545 - traefik.http.services.soneium-minato-sepolia-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/soneium-miniato-sepolia-archive`) || Path(`/soneium-miniato-sepolia-archive/`))} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-archive`) || Path(`/soneium-minato-sepolia-archive/`))}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.rule=Path(`/soneium-miniato-sepolia-archive`) || Path(`/soneium-miniato-sepolia-archive/`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.rule=Path(`/soneium-minato-sepolia-archive`) || Path(`/soneium-minato-sepolia-archive/`)}
- traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash.middlewares=soneium-miniato-sepolia-op-geth-archive-leveldb-hash-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.middlewares=soneium-minato-sepolia-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
soneium-miniato-sepolia-archive-node: soneium-minato-sepolia-archive-node:
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINIATO_SEPOLIA_NODE_VERSION:-v1.19.2} image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
ports: ports:
- 18664:18664 - 16279:16279
- 18664:18664/udp - 16279:16279/udp
environment: environment:
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER} - OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINIATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard} - OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret - OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_RPC=http://soneium-miniato-sepolia-archive:8551 - OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-archive:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s - OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true - OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info - OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0 - OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true - OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300 - OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=soneium-miniato-sepolia - OP_NODE_NETWORK=soneium-minato-sepolia
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400 - OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP} - OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0 - OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=18664 - OP_NODE_P2P_LISTEN_TCP_PORT=16279
- OP_NODE_P2P_LISTEN_UDP_PORT=18664 - OP_NODE_P2P_LISTEN_UDP_PORT=16279
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true - OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
@@ -140,7 +140,7 @@ services:
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
soneium-miniato-sepolia-archive: soneium-minato-sepolia-archive:
condition: service_started condition: service_started
restart: true restart: true
networks: networks:
@@ -153,16 +153,16 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-archive/node - traefik.http.middlewares.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-archive/node
- traefik.http.services.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545 - traefik.http.services.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-miniato-sepolia-archive/node`)} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-archive/node`)}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/soneium-miniato-sepolia-archive/node`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/soneium-minato-sepolia-archive/node`)}
- traefik.http.routers.soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node.middlewares=soneium-miniato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.middlewares=soneium-minato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist
volumes: volumes:
soneium-miniato-sepolia-op-geth-archive-leveldb-hash: soneium-minato-sepolia-op-geth-archive-leveldb-hash:
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
# ... # ...
# IP=$(curl ipinfo.io/ip) # IP=$(curl ipinfo.io/ip)
# DOMAIN=${IP}.traefik.me # DOMAIN=${IP}.traefik.me
# COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-miniato-sepolia-op-geth-pruned-pebble-path.yml # COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-minato-sepolia-op-geth-pruned-pebble-path.yml
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/soneium-miniato-sepolia \ # curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services: services:
soneium-miniato-sepolia: soneium-minato-sepolia:
image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINIATO_SEPOLIA_GETH_VERSION:-v1.101702.2} image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINATO_SEPOLIA_GETH_VERSION:-v1.101702.2}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -46,14 +46,14 @@ services:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports: ports:
- 14827:14827 - 12166:12166
- 14827:14827/udp - 12166:12166/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
- 8551 - 8551
environment: environment:
- GETH_OP_NETWORK=soneium-miniato-sepolia - GETH_OP_NETWORK=soneium-minato-sepolia
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org - GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org
entrypoint: /bin/sh -c 'exec geth "$@"' -- entrypoint: /bin/sh -c 'exec geth "$@"' --
@@ -66,7 +66,7 @@ services:
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=14827 - --port=12166
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=path - --state.scheme=path
@@ -89,7 +89,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${SONEIUM_MINIATO_SEPOLIA_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-soneium-miniato-sepolia-op-geth-pruned-pebble-path}:/data - ${SONEIUM_MINATO_SEPOLIA_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-soneium-minato-sepolia-op-geth-pruned-pebble-path}:/data
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -98,39 +98,39 @@ services:
- prometheus-scrape.port=6060 - prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus - prometheus-scrape.path=/debug/metrics/prometheus
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia - traefik.http.middlewares.soneium-minato-sepolia-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia
- traefik.http.services.soneium-miniato-sepolia-op-geth-pruned-pebble-path.loadbalancer.server.port=8545 - traefik.http.services.soneium-minato-sepolia-op-geth-pruned-pebble-path.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/soneium-miniato-sepolia`) || Path(`/soneium-miniato-sepolia/`))} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia`) || Path(`/soneium-minato-sepolia/`))}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path.rule=Path(`/soneium-miniato-sepolia`) || Path(`/soneium-miniato-sepolia/`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.rule=Path(`/soneium-minato-sepolia`) || Path(`/soneium-minato-sepolia/`)}
- traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path.middlewares=soneium-miniato-sepolia-op-geth-pruned-pebble-path-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.middlewares=soneium-minato-sepolia-op-geth-pruned-pebble-path-stripprefix, ipallowlist
soneium-miniato-sepolia-node: soneium-minato-sepolia-node:
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINIATO_SEPOLIA_NODE_VERSION:-v1.19.2} image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
ports: ports:
- 19827:19827 - 17166:17166
- 19827:19827/udp - 17166:17166/udp
environment: environment:
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER} - OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINIATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard} - OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret - OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_RPC=http://soneium-miniato-sepolia:8551 - OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s - OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true - OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info - OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0 - OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true - OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300 - OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=soneium-miniato-sepolia - OP_NODE_NETWORK=soneium-minato-sepolia
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400 - OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP} - OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0 - OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=19827 - OP_NODE_P2P_LISTEN_TCP_PORT=17166
- OP_NODE_P2P_LISTEN_UDP_PORT=19827 - OP_NODE_P2P_LISTEN_UDP_PORT=17166
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true - OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
@@ -140,7 +140,7 @@ services:
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
soneium-miniato-sepolia: soneium-minato-sepolia:
condition: service_started condition: service_started
restart: true restart: true
networks: networks:
@@ -153,16 +153,16 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia/node - traefik.http.middlewares.soneium-minato-sepolia-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia/node
- traefik.http.services.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545 - traefik.http.services.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-miniato-sepolia/node`)} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia/node`)}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/soneium-miniato-sepolia/node`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/soneium-minato-sepolia/node`)}
- traefik.http.routers.soneium-miniato-sepolia-op-geth-pruned-pebble-path-node.middlewares=soneium-miniato-sepolia-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.middlewares=soneium-minato-sepolia-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
volumes: volumes:
soneium-miniato-sepolia-op-geth-pruned-pebble-path: soneium-minato-sepolia-op-geth-pruned-pebble-path:
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services: services:
ink-mainnet: ink-mainnet:
image: ${INK_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${INK_MAINNET_RETH_VERSION:-v2.4.0} image: ${INK_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${INK_MAINNET_RETH_VERSION:-v2.3.3}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
# ... # ...
# IP=$(curl ipinfo.io/ip) # IP=$(curl ipinfo.io/ip)
# DOMAIN=${IP}.traefik.me # DOMAIN=${IP}.traefik.me
# COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-miniato-sepolia-op-reth-archive-trace.yml # COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-minato-sepolia-op-reth-archive-trace.yml
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/soneium-miniato-sepolia-op-reth \ # curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-reth \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services: services:
soneium-miniato-sepolia-op-reth: soneium-minato-sepolia-op-reth:
image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINIATO_SEPOLIA_RETH_VERSION:-v2.3.3} image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINATO_SEPOLIA_RETH_VERSION:-v2.3.3}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -47,26 +47,26 @@ services:
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX) memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
ports: ports:
- 11940:11940 - 14829:14829
- 11940:11940/udp - 14829:14829/udp
expose: expose:
- 8545 - 8545
- 9001 - 9001
- 8551 - 8551
entrypoint: [op-reth, node] entrypoint: [op-reth, node]
command: command:
- --chain=soneium-miniato-sepolia - --chain=soneium-minato-sepolia
- --datadir=/root/.local/share/reth - --datadir=/root/.local/share/reth
- --discovery.addr=0.0.0.0 - --discovery.addr=0.0.0.0
- --discovery.port=11940 - --discovery.port=14829
- --discovery.v5.addr=0.0.0.0 - --discovery.v5.addr=0.0.0.0
- --discovery.v5.port=11940 - --discovery.v5.port=14829
- --engine.cross-block-cache-size=${SONEIUM_MINIATO_SEPOLIA_RETH_STATE_CACHE:-4096} - --engine.cross-block-cache-size=${SONEIUM_MINATO_SEPOLIA_RETH_STATE_CACHE:-4096}
- --max-inbound-peers=50 - --max-inbound-peers=50
- --max-outbound-peers=50 - --max-outbound-peers=50
- --metrics=0.0.0.0:9001 - --metrics=0.0.0.0:9001
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=11940 - --port=14829
- --rollup.sequencer-http=https://rpc.soneium.org - --rollup.sequencer-http=https://rpc.soneium.org
- --rpc-cache.max-blocks=10000 - --rpc-cache.max-blocks=10000
- --rpc-cache.max-concurrent-db-requests=2048 - --rpc-cache.max-concurrent-db-requests=2048
@@ -92,7 +92,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${SONEIUM_MINIATO_SEPOLIA_OP_RETH_ARCHIVE_TRACE_DATA:-soneium-miniato-sepolia-op-reth-archive-trace}:/root/.local/share/reth - ${SONEIUM_MINATO_SEPOLIA_OP_RETH_ARCHIVE_TRACE_DATA:-soneium-minato-sepolia-op-reth-archive-trace}:/root/.local/share/reth
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -101,41 +101,41 @@ services:
- prometheus-scrape.port=9001 - prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-reth-archive-trace-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-reth - traefik.http.middlewares.soneium-minato-sepolia-op-reth-archive-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth
- traefik.http.services.soneium-miniato-sepolia-op-reth-archive-trace.loadbalancer.server.port=8545 - traefik.http.services.soneium-minato-sepolia-op-reth-archive-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-miniato-sepolia-op-reth`) || Path(`/soneium-miniato-sepolia-op-reth/`))} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-reth`) || Path(`/soneium-minato-sepolia-op-reth/`))}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace.rule=Path(`/soneium-miniato-sepolia-op-reth`) || Path(`/soneium-miniato-sepolia-op-reth/`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.rule=Path(`/soneium-minato-sepolia-op-reth`) || Path(`/soneium-minato-sepolia-op-reth/`)}
- traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace.middlewares=soneium-miniato-sepolia-op-reth-archive-trace-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.middlewares=soneium-minato-sepolia-op-reth-archive-trace-stripprefix, ipallowlist
shm_size: 2gb shm_size: 2gb
soneium-miniato-sepolia-op-reth-node: soneium-minato-sepolia-op-reth-node:
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINIATO_SEPOLIA_NODE_VERSION:-v1.19.2} image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
ports: ports:
- 16940:16940 - 19829:19829
- 16940:16940/udp - 19829:19829/udp
environment: environment:
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER} - OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINIATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard} - OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret - OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_KIND=reth - OP_NODE_L2_ENGINE_KIND=reth
- OP_NODE_L2_ENGINE_RPC=http://soneium-miniato-sepolia-op-reth:8551 - OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-reth:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s - OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true - OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info - OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0 - OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true - OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300 - OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=soneium-miniato-sepolia - OP_NODE_NETWORK=soneium-minato-sepolia
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400 - OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP} - OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0 - OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=16940 - OP_NODE_P2P_LISTEN_TCP_PORT=19829
- OP_NODE_P2P_LISTEN_UDP_PORT=16940 - OP_NODE_P2P_LISTEN_UDP_PORT=19829
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true - OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
@@ -145,7 +145,7 @@ services:
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
soneium-miniato-sepolia-op-reth: soneium-minato-sepolia-op-reth:
condition: service_started condition: service_started
restart: true restart: true
networks: networks:
@@ -158,16 +158,16 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-reth/node - traefik.http.middlewares.soneium-minato-sepolia-op-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth/node
- traefik.http.services.soneium-miniato-sepolia-op-reth-archive-trace-node.loadbalancer.server.port=9545 - traefik.http.services.soneium-minato-sepolia-op-reth-archive-trace-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace-node.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace-node.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-miniato-sepolia-op-reth/node`)} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-reth/node`)}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace-node.rule=PathPrefix(`/soneium-miniato-sepolia-op-reth/node`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-reth/node`)}
- traefik.http.routers.soneium-miniato-sepolia-op-reth-archive-trace-node.middlewares=soneium-miniato-sepolia-op-reth-archive-trace-node-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.middlewares=soneium-minato-sepolia-op-reth-archive-trace-node-stripprefix, ipallowlist
volumes: volumes:
soneium-miniato-sepolia-op-reth-archive-trace: soneium-minato-sepolia-op-reth-archive-trace:
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
@@ -20,17 +20,17 @@ x-logging-defaults: &logging-defaults
# ... # ...
# IP=$(curl ipinfo.io/ip) # IP=$(curl ipinfo.io/ip)
# DOMAIN=${IP}.traefik.me # DOMAIN=${IP}.traefik.me
# COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-miniato-sepolia-op-reth-pruned-trace.yml # COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-minato-sepolia-op-reth-pruned-trace.yml
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/soneium-miniato-sepolia-op-reth-pruned \ # curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-reth-pruned \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services: services:
soneium-miniato-sepolia-op-reth-pruned: soneium-minato-sepolia-op-reth-pruned:
image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINIATO_SEPOLIA_RETH_VERSION:-v2.3.3} image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINATO_SEPOLIA_RETH_VERSION:-v2.3.3}
sysctls: sysctls:
# TCP Performance # TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -47,27 +47,27 @@ services:
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX) memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root user: root
ports: ports:
- 11094:11094 - 13724:13724
- 11094:11094/udp - 13724:13724/udp
expose: expose:
- 8545 - 8545
- 9001 - 9001
- 8551 - 8551
entrypoint: [op-reth, node] entrypoint: [op-reth, node]
command: command:
- --chain=soneium-miniato-sepolia - --chain=soneium-minato-sepolia
- --datadir=/root/.local/share/reth - --datadir=/root/.local/share/reth
- --discovery.addr=0.0.0.0 - --discovery.addr=0.0.0.0
- --discovery.port=11094 - --discovery.port=13724
- --discovery.v5.addr=0.0.0.0 - --discovery.v5.addr=0.0.0.0
- --discovery.v5.port=11094 - --discovery.v5.port=13724
- --engine.cross-block-cache-size=${SONEIUM_MINIATO_SEPOLIA_RETH_STATE_CACHE:-4096} - --engine.cross-block-cache-size=${SONEIUM_MINATO_SEPOLIA_RETH_STATE_CACHE:-4096}
- --full - --full
- --max-inbound-peers=50 - --max-inbound-peers=50
- --max-outbound-peers=50 - --max-outbound-peers=50
- --metrics=0.0.0.0:9001 - --metrics=0.0.0.0:9001
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=11094 - --port=13724
- --rollup.sequencer-http=https://rpc.soneium.org - --rollup.sequencer-http=https://rpc.soneium.org
- --rpc-cache.max-blocks=10000 - --rpc-cache.max-blocks=10000
- --rpc-cache.max-concurrent-db-requests=2048 - --rpc-cache.max-concurrent-db-requests=2048
@@ -93,7 +93,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${SONEIUM_MINIATO_SEPOLIA_OP_RETH_PRUNED_TRACE_DATA:-soneium-miniato-sepolia-op-reth-pruned-trace}:/root/.local/share/reth - ${SONEIUM_MINATO_SEPOLIA_OP_RETH_PRUNED_TRACE_DATA:-soneium-minato-sepolia-op-reth-pruned-trace}:/root/.local/share/reth
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -102,41 +102,41 @@ services:
- prometheus-scrape.port=9001 - prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-reth-pruned - traefik.http.middlewares.soneium-minato-sepolia-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth-pruned
- traefik.http.services.soneium-miniato-sepolia-op-reth-pruned-trace.loadbalancer.server.port=8545 - traefik.http.services.soneium-minato-sepolia-op-reth-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-miniato-sepolia-op-reth-pruned`) || Path(`/soneium-miniato-sepolia-op-reth-pruned/`))} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-reth-pruned`) || Path(`/soneium-minato-sepolia-op-reth-pruned/`))}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace.rule=Path(`/soneium-miniato-sepolia-op-reth-pruned`) || Path(`/soneium-miniato-sepolia-op-reth-pruned/`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.rule=Path(`/soneium-minato-sepolia-op-reth-pruned`) || Path(`/soneium-minato-sepolia-op-reth-pruned/`)}
- traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace.middlewares=soneium-miniato-sepolia-op-reth-pruned-trace-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.middlewares=soneium-minato-sepolia-op-reth-pruned-trace-stripprefix, ipallowlist
shm_size: 2gb shm_size: 2gb
soneium-miniato-sepolia-op-reth-pruned-node: soneium-minato-sepolia-op-reth-pruned-node:
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINIATO_SEPOLIA_NODE_VERSION:-v1.19.2} image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
ports: ports:
- 16094:16094 - 18724:18724
- 16094:16094/udp - 18724:18724/udp
environment: environment:
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER} - OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINIATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard} - OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret - OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_KIND=reth - OP_NODE_L2_ENGINE_KIND=reth
- OP_NODE_L2_ENGINE_RPC=http://soneium-miniato-sepolia-op-reth-pruned:8551 - OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-reth-pruned:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s - OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true - OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info - OP_NODE_LOG_LEVEL=info
- OP_NODE_METRICS_ADDR=0.0.0.0 - OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true - OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300 - OP_NODE_METRICS_PORT=7300
- OP_NODE_NETWORK=soneium-miniato-sepolia - OP_NODE_NETWORK=soneium-minato-sepolia
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400 - OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP} - OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0 - OP_NODE_P2P_LISTEN_IP=0.0.0.0
- OP_NODE_P2P_LISTEN_TCP_PORT=16094 - OP_NODE_P2P_LISTEN_TCP_PORT=18724
- OP_NODE_P2P_LISTEN_UDP_PORT=16094 - OP_NODE_P2P_LISTEN_UDP_PORT=18724
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true - OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
@@ -146,7 +146,7 @@ services:
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
soneium-miniato-sepolia-op-reth-pruned: soneium-minato-sepolia-op-reth-pruned:
condition: service_started condition: service_started
restart: true restart: true
networks: networks:
@@ -159,16 +159,16 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.soneium-miniato-sepolia-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/soneium-miniato-sepolia-op-reth-pruned/node - traefik.http.middlewares.soneium-minato-sepolia-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth-pruned/node
- traefik.http.services.soneium-miniato-sepolia-op-reth-pruned-trace-node.loadbalancer.server.port=9545 - traefik.http.services.soneium-minato-sepolia-op-reth-pruned-trace-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace-node.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace-node.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-miniato-sepolia-op-reth-pruned/node`)} - ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-reth-pruned/node`)}
- ${NO_SSL:+traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace-node.rule=PathPrefix(`/soneium-miniato-sepolia-op-reth-pruned/node`)} - ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-reth-pruned/node`)}
- traefik.http.routers.soneium-miniato-sepolia-op-reth-pruned-trace-node.middlewares=soneium-miniato-sepolia-op-reth-pruned-trace-node-stripprefix, ipallowlist - traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.middlewares=soneium-minato-sepolia-op-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: volumes:
soneium-miniato-sepolia-op-reth-pruned-trace: soneium-minato-sepolia-op-reth-pruned-trace:
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}
@@ -106,7 +106,7 @@ services:
shm_size: 2gb shm_size: 2gb
zircuit-garfield-op-reth-pruned-node: zircuit-garfield-op-reth-pruned-node:
image: ${ZIRCUIT_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${GARFIELD_NODE_VERSION:-v1.19.3} image: ${ZIRCUIT_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${GARFIELD_NODE_VERSION:-v1.19.0}
user: root user: root
ports: ports:
- 18027:18027 - 18027:18027
-2
View File
@@ -1,2 +0,0 @@
[Eth.SLSConfig]
EnableZircAPI = false
+6 -1
View File
@@ -78,16 +78,21 @@ CLIENT_NAME="$(echo "$INFO" | jq -r '.result.name // empty' 2>/dev/null || true)
PEERS_JSON="$(rpc admin_peers)" PEERS_JSON="$(rpc admin_peers)"
PEER_COUNT="$(echo "$PEERS_JSON" | jq -r '.result | length' 2>/dev/null || echo 0)" PEER_COUNT="$(echo "$PEERS_JSON" | jq -r '.result | length' 2>/dev/null || echo 0)"
# Detect client type (connect-peers.sh logic) # Detect client type (connect-peers.sh logic).
# op-geth often still reports as "Geth/…" — prefer compose path for op-geth.
NAME_LC="$(echo "$CLIENT_NAME" | tr '[:upper:]' '[:lower:]')" NAME_LC="$(echo "$CLIENT_NAME" | tr '[:upper:]' '[:lower:]')"
CLIENT_TYPE="unknown" CLIENT_TYPE="unknown"
case "$NAME_LC" in case "$NAME_LC" in
*op-geth*) CLIENT_TYPE="op-geth" ;;
*geth*) CLIENT_TYPE="geth" ;; *geth*) CLIENT_TYPE="geth" ;;
*reth*) CLIENT_TYPE="reth" ;; *reth*) CLIENT_TYPE="reth" ;;
*erigon*) CLIENT_TYPE="erigon" ;; *erigon*) CLIENT_TYPE="erigon" ;;
*nethermind*) CLIENT_TYPE="nethermind" ;; *nethermind*) CLIENT_TYPE="nethermind" ;;
*besu*) CLIENT_TYPE="besu" ;; *besu*) CLIENT_TYPE="besu" ;;
esac esac
case "$COMPOSE_PATH" in
*op-geth*) CLIENT_TYPE="op-geth" ;;
esac
TS="$(date -u +%Y-%m-%dT%H:%M:%SZ)" TS="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo "$PEERS_JSON" | jq -c --arg path "$COMPOSE_PATH" --arg ts "$TS" \ echo "$PEERS_JSON" | jq -c --arg path "$COMPOSE_PATH" --arg ts "$TS" \
+12 -3
View File
@@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
# peer-reinject.sh — generic .after-start hook: re-seed peers from peer-capture state. # peer-reinject.sh — generic .after-start hook: re-seed peers from peer-capture state.
# Uses admin_addStaticPeer for geth, admin_addPeer otherwise (connect-peers.sh). # Uses admin_addStaticPeer for vanilla geth, admin_addPeer for op-geth and others
# In-network vantage (rpc_chains). Idempotent; best-effort (never fails the restart). # (connect-peers.sh). In-network vantage (rpc_chains). Idempotent; best-effort
# (never fails the restart).
# #
# Seed order (one path for us and customers): # Seed order (one path for us and customers):
# 1. Own persisted peerset (peer-state/<compose>.json from peer-capture) # 1. Own persisted peerset (peer-state/<compose>.json from peer-capture)
@@ -68,6 +69,12 @@ if [ "${#ENODES[@]}" -eq 0 ]; then
exit 0 exit 0
fi fi
# op-geth lacks admin_addStaticPeer; compose path wins over stale capture state
# that classified the node as plain "geth" (admin_nodeInfo often still says Geth).
case "$COMPOSE_PATH" in
*op-geth*) CLIENT_TYPE="op-geth" ;;
esac
BASE="$(basename "$COMPOSE_PATH" | sed 's/--.*//')" BASE="$(basename "$COMPOSE_PATH" | sed 's/--.*//')"
EL="" EL=""
# wait briefly for container after recreate # wait briefly for container after recreate
@@ -120,6 +127,7 @@ done
add_peer() { add_peer() {
local enode="$1" local enode="$1"
local method local method
# Only vanilla geth supports admin_addStaticPeer; op-geth must use admin_addPeer
if [ "$CLIENT_TYPE" = "geth" ]; then if [ "$CLIENT_TYPE" = "geth" ]; then
method="admin_addStaticPeer" method="admin_addStaticPeer"
else else
@@ -132,7 +140,8 @@ add_peer() {
resp="$(docker exec peer-hook-probe curl -s --max-time 8 -X POST \ resp="$(docker exec peer-hook-probe curl -s --max-time 8 -X POST \
-H 'Content-Type: application/json' --data "$payload" \ -H 'Content-Type: application/json' --data "$payload" \
"http://${IP}:8545" 2>/dev/null || true)" "http://${IP}:8545" 2>/dev/null || true)"
if echo "$resp" | grep -qi 'method not found'; then # go-ethereum-style: "the method X does not exist/is not available" (not "method not found")
if echo "$resp" | grep -qiE 'method not found|does not exist|not available|-32601'; then
if [ "$method" = "admin_addStaticPeer" ]; then if [ "$method" = "admin_addStaticPeer" ]; then
method="admin_addPeer" method="admin_addPeer"
else else
-83
View File
@@ -3735,89 +3735,6 @@
"https://humanity-testnet.drpc.org" "https://humanity-testnet.drpc.org"
] ]
}, },
"astar": {
"protocol": "eth",
"id": 592,
"block_time_ms": 10000,
"lagging_lag": 5,
"syncing_lag": 10,
"urls": [
"https://rpc.astar.network:8545",
"https://astar.drpc.org"
]
},
"bitlayer": {
"protocol": "eth",
"id": 200901,
"block_time_ms": 3000,
"lagging_lag": 20,
"syncing_lag": 40,
"urls": [
"https://rpc.bitlayer.org",
"https://rpc.bitlayer-rpc.com",
"https://rpc.ankr.com/bitlayer",
"https://rpc-bitlayer.rockx.com",
"https://bitlayer.drpc.org"
]
},
"bitlayer-testnet": {
"protocol": "eth",
"id": 200810,
"block_time_ms": 3000,
"lagging_lag": 20,
"syncing_lag": 40,
"urls": [
"https://testnet-rpc.bitlayer.org",
"https://testnet-rpc.bitlayer-rpc.com",
"https://rpc.ankr.com/bitlayer_testnet",
"https://bitlayer-testnet.drpc.org"
]
},
"etherlink": {
"protocol": "eth",
"id": 42793,
"block_time_ms": 1000,
"lagging_lag": 20,
"syncing_lag": 40,
"urls": [
"https://node.mainnet.etherlink.com",
"https://etherlink.drpc.org"
]
},
"etherlink-shadownet": {
"protocol": "eth",
"id": 127823,
"block_time_ms": 6000,
"lagging_lag": 20,
"syncing_lag": 40,
"urls": [
"https://node.shadownet.etherlink.com",
"https://etherlink-shadownet.drpc.org"
]
},
"neo-x": {
"protocol": "eth",
"id": 47763,
"block_time_ms": 9000,
"lagging_lag": 5,
"syncing_lag": 10,
"urls": [
"https://mainnet-1.rpc.banelabs.org",
"https://mainnet-2.rpc.banelabs.org",
"https://neo-x.drpc.org"
]
},
"neo-x-testnet": {
"protocol": "eth",
"id": 12227332,
"block_time_ms": 5000,
"lagging_lag": 5,
"syncing_lag": 10,
"urls": [
"https://testnet.rpc.banelabs.org/",
"https://neo-x-testnet.drpc.org"
]
},
"core-pigeon": { "core-pigeon": {
"id": 1114, "id": 1114,
"urls": [ "urls": [
-7
View File
@@ -168,13 +168,6 @@ while IFS= read -r key; do
fi fi
if [ -z "$newest_file" ]; then if [ -z "$newest_file" ]; then
# Check if this volume is optional or ephemeral - if so, warn and continue
if is_ephemeral_volume_key "$key" "$dir/$1.yml" || is_optional_volume_key "$key" "$dir/$1.yml"; then
echo "WARN: No backup found for volume 'rpc_$key' (volume is optional/ephemeral) - creating empty volume"
# Create empty volume and continue
mkdir -p "$data_dir"
continue
fi
echo "Error: No backup found for volume 'rpc_$key'" echo "Error: No backup found for volume 'rpc_$key'"
exit 1 exit 1
fi fi
-1
View File
@@ -32,4 +32,3 @@
72.46.86.0/24 asia-northeast Tokyo AS396356-latitude 72.46.86.0/24 asia-northeast Tokyo AS396356-latitude
72.46.87.0/24 asia-southeast Singapore AS396356-latitude 72.46.87.0/24 asia-southeast Singapore AS396356-latitude
177.54.154.0/24 asia-southeast Singapore AS396356-latitude 177.54.154.0/24 asia-southeast Singapore AS396356-latitude
168.119.195.0/24 eu-west2 Falkenstein AS24940-hetzner
1 # dRPC edge (gateway) IP prefixes -> declared region labels for the request-splits
32 72.46.86.0/24
33 72.46.87.0/24
34 177.54.154.0/24
168.119.195.0/24
-16
View File
@@ -218,22 +218,6 @@ is_ephemeral_volume_key() {
return 1 return 1
} }
is_optional_volume_key() {
local key=$1
local compose_file=$2
if [[ -n "$compose_file" && -f "$compose_file" ]]; then
local optional
optional=$(yaml2json < "$compose_file" 2>/dev/null | jq -r '.["x-optional-volumes"] // [] | .[]' 2>/dev/null)
while IFS= read -r vol; do
[[ -z "$vol" ]] && continue
[[ "$key" == "$vol" ]] && return 0
done <<< "$optional"
fi
return 1
}
get_volume_keys() { get_volume_keys() {
local compose_file=$1 local compose_file=$1
yaml2json < "$compose_file" 2>/dev/null | jq -r '.volumes | keys[]' 2>/dev/null yaml2json < "$compose_file" 2>/dev/null | jq -r '.volumes | keys[]' 2>/dev/null