New version

This commit is contained in:
2026-05-04 16:59:07 +02:00
parent 72a459d411
commit 558df9e6ef
2 changed files with 24 additions and 8 deletions
+5 -5
View File
@@ -4,10 +4,10 @@ services:
container_name: prometheus
user: '0'
volumes:
- /var/lib/docker/volumes/prometheus/prometheus:/etc/prometheus
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- /var/lib/docker/volumes/prometheus/prometheus_data:/prometheus
ports:
- "9090:9090"
- "19090:9090"
command:
- "--config.file=/etc/prometheus/prometheus.yml"
restart: unless-stopped
@@ -17,7 +17,7 @@ services:
container_name: grafana
user: '0'
ports:
- "3100:3000"
- "13000:3000"
volumes:
- /var/lib/docker/volumes/prometheus/grafana_data:/var/lib/grafana
restart: unless-stopped
@@ -34,7 +34,7 @@ services:
container_name: cadvisor
user: '0'
ports:
- "8180:8080"
- "18080:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
@@ -47,7 +47,7 @@ services:
container_name: blackbox_exporter
user: '0'
ports:
- "9115:9115"
- "19115:9115"
volumes:
- /var/lib/docker/volumes/prometheus/blackbox:/etc/blackbox_exporter
restart: unless-stopped