add monitoring network
This commit is contained in:
@@ -23,6 +23,10 @@ services:
|
|||||||
--authrpc.vhosts=*
|
--authrpc.vhosts=*
|
||||||
--authrpc.jwtsecret=/jwtsecret
|
--authrpc.jwtsecret=/jwtsecret
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "prometheus-scrape.enabled=true"
|
||||||
|
- "prometheus-scrape.port=3000"
|
||||||
|
- "prometheus-scrape.job_name=erigon"
|
||||||
|
|
||||||
rpcdaemon:
|
rpcdaemon:
|
||||||
image: thorax/erigon:v2022.08.03
|
image: thorax/erigon:v2022.08.03
|
||||||
|
|||||||
@@ -80,7 +80,10 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 9100
|
- 9100
|
||||||
labels:
|
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:
|
networks:
|
||||||
- monitoring
|
- monitoring
|
||||||
|
|
||||||
@@ -100,7 +103,10 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 8080
|
- 8080
|
||||||
labels:
|
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:
|
networks:
|
||||||
- monitoring
|
- monitoring
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user