diff --git a/compose/monitoring/docker-compose.yml b/compose/monitoring/docker-compose.yml index a0c11ee..9695f65 100644 --- a/compose/monitoring/docker-compose.yml +++ b/compose/monitoring/docker-compose.yml @@ -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" \ No newline at end of file