Merge pull request #4 from bboykin87/main

Bind mount for prometheus.yml is backwards
This commit is contained in:
Christian
2021-10-25 17:55:13 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -14,11 +14,11 @@ services:
ports: ports:
- "9090:9090" - "9090:9090"
volumes: volumes:
- /etc/prometheus:/config - /config:/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