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
container_name: prometheus
restart: unless-stopped
user: "root" # Verhindert Permission-Probleme beim Lesen der Config
volumes:
- /srv/docker/daten/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- /srv/docker/daten/prometheus:/prometheus
@@ -55,6 +56,7 @@ services:
container_name: proxmox-exporter
restart: unless-stopped
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:
- "9221:9221"