diff --git a/compose/logging/docker-compose.yml b/compose/logging/docker-compose.yml index 3e8a8b2..156bec9 100644 --- a/compose/logging/docker-compose.yml +++ b/compose/logging/docker-compose.yml @@ -44,12 +44,11 @@ services: pve-exporter: image: ghcr.io/prometheus-pve/prometheus-pve-exporter:latest container_name: pve-exporter - environment: - PVE_API_URL: "https://ro-api%40pve:Zazen17Doshin17@192.168.178.200:8006/api2/json" - #PVE_HOST: "192.168.178.200" - #PVE_USER: "ro-api@pve" - #PVE_PASSWORD: "Zazen17Doshin17" - PVE_VERIFY_SSL: "false" + volumes: + - /srv/docker/daten/pve-exporter/config.yaml:/etc/pve_exporter/config.yaml:ro + command: + - "--config.file=/etc/pve_exporter/config.yaml" + - "192.168.178.200" ports: - "9221:9221" restart: unless-stopped \ No newline at end of file