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

@@ -50,6 +50,7 @@ services:
- 10954:10954/udp
expose:
- 8545
- 6060
- 8551
- 10010
environment:
@@ -62,6 +63,9 @@ services:
- --db.engine=pebble
- --gcmode=full
- --maxpeers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --nat=extip:${IP}
- --port=10954
- --rpc.gascap=600000000
@@ -91,6 +95,9 @@ services:
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus
- traefik.enable=true
- traefik.http.middlewares.unichain-mainnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/unichain-mainnet
- traefik.http.services.unichain-mainnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545
@@ -120,6 +127,7 @@ services:
- ${UNICHAIN_MAINNET_FIREETH_DATA:-unichain-mainnet-fireeth}:/firehose-data
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=false
- traefik.enable=true
- traefik.http.services.unichain-mainnet-op-geth-pruned-pebble-path-firehose.loadbalancer.server.scheme=h2c
- traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-firehose.service=unichain-mainnet-op-geth-pruned-pebble-path-firehose
@@ -174,6 +182,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=unichain-mainnet
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
@@ -194,6 +203,10 @@ services:
volumes:
- .jwtsecret:/jwtsecret:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics
volumes:
unichain-mainnet-op-geth-pruned-pebble-path: