--- version: "3.8" services: smartctl: image: "prometheuscommunity/smartctl-exporter:v0.14.0" volumes: - "/dev:/dev" - "/var/lib/smartmontools/json:/debug" command: - "--smartctl.fake-data" - "--smartctl.interval=1h" networks: - "proxy" deploy: labels: - "prometheus.io/scrape=true" - "prometheus.io/port=9633" - "prometheus.io/path=/metrics"