monitoring

This commit is contained in:
2026-04-20 16:50:38 +02:00
parent 86a9de8e6b
commit 72a03d0101

View File

@@ -3,6 +3,7 @@ services:
image: prom/prometheus:latest image: prom/prometheus:latest
container_name: prometheus container_name: prometheus
restart: unless-stopped restart: unless-stopped
user: "root" # Verhindert Permission-Probleme beim Lesen der Config
volumes: volumes:
- /srv/docker/daten/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml - /srv/docker/daten/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- /srv/docker/daten/prometheus:/prometheus - /srv/docker/daten/prometheus:/prometheus
@@ -55,6 +56,7 @@ services:
container_name: proxmox-exporter container_name: proxmox-exporter
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /srv/docker/daten/proxmox-exporter/proxmox.yml:/etc/pve.yml:ro # Wir mounten das VERZEICHNIS. Darin liegt die pve.yml
- /srv/docker/daten/proxmox-exporter:/etc/prometheus:ro
ports: ports:
- "9221:9221" - "9221:9221"