now with prometheus. hopefully

This commit is contained in:
Para Dox
2025-05-18 13:11:00 +07:00
parent f2855d3a2c
commit 98abb33fc8
289 changed files with 2735 additions and 1021 deletions

View File

@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
services:
lisk-mainnet-archive:
image: ${LISK_RETH_IMAGE:-ghcr.io/paradigmxyz/op-reth}:${LISK_MAINNET_RETH_VERSION:-v1.3.12}
image: ${LISK_RETH_IMAGE:-ghcr.io/paradigmxyz/op-reth}:${LISK_MAINNET_RETH_VERSION:-v1.4.1}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -51,6 +51,7 @@ services:
- 10598:10598/udp
expose:
- 8545
- 9001
- 8551
entrypoint: [op-reth, node]
command:
@@ -60,6 +61,9 @@ services:
- --engine.cross-block-cache-size=${LISK_MAINNET_RETH_STATE_CACHE:-4096}
- --max-inbound-peers=50
- --max-outbound-peers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=9001
- --nat=extip:${IP}
- --port=10598
- --rollup.sequencer-http=https://rpc.api.lisk.com
@@ -92,6 +96,9 @@ services:
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.lisk-mainnet-op-reth-archive-trace-stripprefix.stripprefix.prefixes=/lisk-mainnet-archive
- traefik.http.services.lisk-mainnet-op-reth-archive-trace.loadbalancer.server.port=8545
@@ -120,6 +127,7 @@ services:
- OP_NODE_METRICS_ADDR=0.0.0.0
- OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300
- OP_NODE_METRIC_ENABLED=true
- OP_NODE_NETWORK=lisk-mainnet
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_BOOTNODES=enr:-Iu4QBCIUw0OhAq5ErARIYBLIr6xPb83OqeFRqlUJGlJ9kWpNECaumPArYWsEFdM_cEKm26JJT_EA52f4dlavBldldgBgmlkgnY0gmlwhCPqq5CJc2VjcDI1NmsxoQLBE74gZyIHkwBEnkI4K7nR4SM2Lytj2VTLqJaj5nQevoN0Y3CCIyuDdWRwgiMs
@@ -142,6 +150,10 @@ services:
- ./op/lisk/mainnet:/config
- .jwtsecret:/jwtsecret:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics
volumes:
lisk-mainnet-op-reth-archive-trace: