mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
Retooled source path of prometheus.yaml bind mount to reflect an absolute path to /etc/prometheus which is prescribed in "Server Monitoring Prometheus and Grafana Tutorial" (Sep 21, 2021).
This commit is contained in:
parent
d589b4d8ac
commit
93a5ed124e
@ -10,6 +10,6 @@ services:
|
||||
- 9090:9090
|
||||
command: "--config.file=/etc/prometheus/prometheus.yaml"
|
||||
volumes:
|
||||
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||
- /etc/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||
- prometheus-data:/prometheus
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user