monitoring
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user