mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
Merge pull request #4 from bboykin87/main
Bind mount for prometheus.yml is backwards
This commit is contained in:
commit
1bcde8cca9
@ -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'
|
||||
|
@ -14,11 +14,11 @@ services:
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
- /etc/prometheus:/config
|
||||
- /config:/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
|
||||
@ -27,4 +27,4 @@ services:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- grafana-data:/var/lib/grafana
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user