add monitoring network

This commit is contained in:
cventastic
2022-09-07 23:08:31 +02:00
parent 22c91bf68c
commit f6d85e4014
2 changed files with 12 additions and 2 deletions

View File

@@ -23,6 +23,10 @@ services:
--authrpc.vhosts=*
--authrpc.jwtsecret=/jwtsecret
restart: unless-stopped
labels:
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=3000"
- "prometheus-scrape.job_name=erigon"
rpcdaemon:
image: thorax/erigon:v2022.08.03

View File

@@ -80,7 +80,10 @@ services:
expose:
- 9100
labels:
org.label-schema.group: "monitoring"
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=3000"
- "prometheus-scrape.job_name=nodeexporter"
- "org.label-schema.group=monitoring"
networks:
- monitoring
@@ -100,7 +103,10 @@ services:
expose:
- 8080
labels:
org.label-schema.group: "monitoring"
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=3000"
- "prometheus-scrape.job_name=cadvisor"
- "org.label-schema.group=monitoring"
networks:
- monitoring