linea now with maru
This commit is contained in:
@@ -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
|
||||
@@ -91,6 +92,7 @@ services:
|
||||
volumes:
|
||||
- ${LINEA_SEPOLIA_ERIGON3_MINIMAL_TRACE_DATA:-linea-sepolia-erigon3-minimal-trace}:/root/.local/share/erigon
|
||||
- ./linea/sepolia:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
@@ -107,8 +109,44 @@ services:
|
||||
- traefik.http.routers.linea-sepolia-erigon3-minimal-trace.middlewares=linea-sepolia-erigon3-minimal-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
linea-sepolia-erigon3-minimal-node:
|
||||
build:
|
||||
context: ./linea
|
||||
dockerfile: maru.Dockerfile
|
||||
args:
|
||||
MARU_IMAGE: ${LINEA_SEPOLIA_MARU_IMAGE:-consensys/maru}
|
||||
MARU_VERSION: ${LINEA_SEPOLIA_MARU_VERSION:-bcfdb43}
|
||||
ports:
|
||||
- 17410:17410
|
||||
- 17410:17410/udp
|
||||
expose:
|
||||
- 8080
|
||||
environment:
|
||||
- EL_HOST=linea-sepolia-erigon3-minimal
|
||||
- IP=${IP}
|
||||
- L1_RPC=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||
- P2P_PORT=17410
|
||||
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_MINIMAL_TRACE__MARU_DATA:-linea-sepolia-erigon3-minimal-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-minimal-trace:
|
||||
linea-sepolia-erigon3-minimal-trace_maru:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
|
||||
Reference in New Issue
Block a user