# Scrutiny Collector — Setillo (Synology DS223j, 2-bay)
#
# Ships SMART data to the hub on homelab-vm.
# DS223j has 2 bays (/dev/sata1, /dev/sata2).
# Synology uses /dev/sata* — requires explicit device list in collector.yaml.
# collector.yaml lives at: /root/scrutiny/collector.yaml
#
# privileged: true required on DSM.
# Note: deploy via root SSH (setillo-root) or Portainer.
# Hub: http://100.67.40.126:8090

services:
  scrutiny-collector:
    image: ghcr.io/analogj/scrutiny:master-collector
    container_name: scrutiny-collector
    privileged: true
    volumes:
      - /run/udev:/run/udev:ro
      - /root/scrutiny/collector.yaml:/opt/scrutiny/config/collector.yaml:ro
    devices:
      - /dev/sata1
      - /dev/sata2
    environment:
      COLLECTOR_API_ENDPOINT: "http://100.67.40.126:8090"
    restart: unless-stopped
