now with prometheus. hopefully
This commit is contained in:
@@ -50,6 +50,7 @@ services:
|
||||
- 13399:13399/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
- 8551
|
||||
environment:
|
||||
- GETH_OP_NETWORK=op-mainnet
|
||||
@@ -61,6 +62,9 @@ services:
|
||||
- --db.engine=leveldb
|
||||
- --gcmode=archive
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=13399
|
||||
- --rollup.historicalrpc=http://op-mainnet-archive-classic:8545
|
||||
@@ -94,6 +98,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.op-mainnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/op-mainnet-archive
|
||||
- traefik.http.services.op-mainnet-op-geth-archive-leveldb-hash.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=op-mainnet
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
@@ -142,6 +150,10 @@ services:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
|
||||
op-mainnet-archive-classic:
|
||||
image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31}
|
||||
@@ -164,6 +176,7 @@ services:
|
||||
- 12952:12952/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
env_file:
|
||||
- ./op/op/mainnet/l2geth.env
|
||||
environment:
|
||||
@@ -178,6 +191,9 @@ services:
|
||||
- --http.port=8545
|
||||
- --http.vhosts=*
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12952
|
||||
- --rpc.gascap=600000000
|
||||
@@ -202,7 +218,10 @@ services:
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: '3'
|
||||
labels: []
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
|
||||
volumes:
|
||||
op-mainnet-l2geth-archive-leveldb-hash:
|
||||
|
||||
Reference in New Issue
Block a user