|
@@ -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
|
|
@@ -27,4 +27,4 @@ services:
|
|
|
- "3000:3000"
|
|
- "3000:3000"
|
|
|
volumes:
|
|
volumes:
|
|
|
- grafana-data:/var/lib/grafana
|
|
- grafana-data:/var/lib/grafana
|
|
|
- restart: unless-stopped
|
|
|
|
|
|
|
+ restart: unless-stopped
|