This commit is contained in:
xcad2k 2021-11-05 10:37:47 +01:00
commit dc0bc57f96
2 changed files with 5 additions and 5 deletions

View File

@ -18,8 +18,8 @@ scrape_configs:
# Example job for node_exporter
# - job_name: 'node_exporter'
# static_configs:
# - targets: ['node_exporter:9100']
# static_configs:
# - targets: ['node_exporter:9100']
# Example job for cadvisor
# - job_name: 'cadvisor'

View File

@ -14,11 +14,11 @@ services:
ports:
- "9090:9090"
volumes:
- /etc/prometheus:/config
- /etc/prometheus:/etc/prometheus
- prometheus-data:/prometheus
restart: unless-stopped
command:
- "--config.file=/config/prometheus.yml"
- "--config.file=/etc/prometheus/prometheus.yml"
grafana:
image: grafana/grafana:latest