linea now with maru

This commit is contained in:
goldsquid
2025-10-24 16:32:06 +07:00
parent 78bb1f32a4
commit 8d6ceb6794
15 changed files with 449 additions and 10 deletions

View File

@@ -61,6 +61,7 @@ services:
- --bootnodes=enode://6f20afbe4397e51b717a7c1ad3095e79aee48c835eebd9237a3e8a16951ade1fe0e66e981e30ea269849fcb6ba03d838da37f524fabd2a557474194a2e2604fa@18.221.100.27:31002,enode://ce1e0d8e0500cb5c0ac56bdcdafb2d6320c3a2c5125b5ccf12f5dfc9b47ee74acbcafc32559017613136c9c36a0ce74ba4f83b7fb8244f099f3b15708d9d3129@3.23.75.47:31000,enode://1b026a5eb0ae74300f58987d235ef0e3a550df963345cb3574be3b0b54378bd11f14dfd515a8976f2c2d2826090e9507b8ccc24f896a9ffffffcabcfd996a733@3.129.120.128:31001
- --datadir=/root/.local/share/erigon
- --db.size.limit=600GB
- --externalcl=true
- --http
- --http.addr=0.0.0.0
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin,ots
@@ -90,6 +91,7 @@ services:
volumes:
- ${LINEA_SEPOLIA_ERIGON3_PRUNED_TRACE_DATA:-linea-sepolia-erigon3-pruned-trace}:/root/.local/share/erigon
- ./linea/sepolia:/config
- .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
@@ -106,8 +108,44 @@ services:
- traefik.http.routers.linea-sepolia-erigon3-pruned-trace.middlewares=linea-sepolia-erigon3-pruned-trace-stripprefix, ipallowlist
shm_size: 2gb
linea-sepolia-erigon3-node:
build:
context: ./linea
dockerfile: maru.Dockerfile
args:
MARU_IMAGE: ${LINEA_SEPOLIA_MARU_IMAGE:-consensys/maru}
MARU_VERSION: ${LINEA_SEPOLIA_MARU_VERSION:-bcfdb43}
ports:
- 15620:15620
- 15620:15620/udp
expose:
- 8080
environment:
- EL_HOST=linea-sepolia-erigon3
- IP=${IP}
- L1_RPC=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
- P2P_PORT=15620
entrypoint: [/bin/bash, -c]
command:
- |
envsubst < /config/maru/config.toml.template > /config.toml
exec java -Dlog4j2.configurationFile=/config/maru/log4j.xml -jar /opt/consensys/maru/maru.jar --config=/config.toml --maru-genesis-file=/config/maru/genesis.json "$@"
restart: unless-stopped
networks:
- chains
volumes:
- ${LINEA_SEPOLIA_ERIGON3_PRUNED_TRACE__MARU_DATA:-linea-sepolia-erigon3-pruned-trace_maru}:/opt/maru/data
- ./linea/sepolia:/config
- .jwtsecret:/jwtsecret:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=9090
- prometheus-scrape.path=/debug/metrics/prometheus
volumes:
linea-sepolia-erigon3-pruned-trace:
linea-sepolia-erigon3-pruned-trace_maru:
x-upstreams:
- id: $${ID}