Merge branch 'main' of https://github.com/xcad2k/boilerplates into main
This commit is contained in:
@@ -18,8 +18,8 @@ scrape_configs:
|
|||||||
|
|
||||||
# Example job for node_exporter
|
# Example job for node_exporter
|
||||||
# - job_name: 'node_exporter'
|
# - job_name: 'node_exporter'
|
||||||
# static_configs:
|
# static_configs:
|
||||||
# - targets: ['node_exporter:9100']
|
# - targets: ['node_exporter:9100']
|
||||||
|
|
||||||
# Example job for cadvisor
|
# Example job for cadvisor
|
||||||
# - job_name: 'cadvisor'
|
# - job_name: 'cadvisor'
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/prometheus:/config
|
- /etc/prometheus:/etc/prometheus
|
||||||
- prometheus-data:/prometheus
|
- prometheus-data:/prometheus
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command:
|
command:
|
||||||
- "--config.file=/config/prometheus.yml"
|
- "--config.file=/etc/prometheus/prometheus.yml"
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:latest
|
image: grafana/grafana:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user