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:
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:
- 12812:12812/udp
expose:
- 8545
- 9001
- 8551
entrypoint: [op-reth, node]
command:
@@ -61,6 +62,9 @@ services:
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=9001
- --nat=extip:${IP}
- --port=12812
- --rollup.sequencer-http=https://rpc.api.lisk.com
@@ -93,6 +97,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-pruned-trace-stripprefix.stripprefix.prefixes=/lisk-mainnet
- traefik.http.services.lisk-mainnet-op-reth-pruned-trace.loadbalancer.server.port=8545
@@ -121,6 +128,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
@@ -143,6 +151,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-pruned-trace: