Add scrutiny

This commit is contained in:
JuliusFreudenberger 2022-04-04 18:13:05 +02:00
parent 8c7acd6262
commit a74102f554
2 changed files with 39 additions and 0 deletions

4
scrutiny/README.md Normal file
View file

@ -0,0 +1,4 @@
# scrutiny
Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds

View file

@ -0,0 +1,35 @@
version: "3"
services:
scrutiny:
image: lscr.io/linuxserver/scrutiny
container_name: scrutiny
restart: unless-stopped
cap_add:
- SYS_RAWIO
- ${NO_NVME:-SYS_ADMIN} # only needed for nvme drives
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- SCRUTINY_API_ENDPOINT=http://localhost:8080
- SCRUTINY_WEB=true
- SCRUTINY_COLLECTOR=true
- GIN_MODE=release
volumes:
- scrutiny_config:/config
- /run/udev:/run/udev:ro
ports:
- 8081:8080
devices:
- ${first_device:-/dev/tty1}
- ${second_device:-/dev/tty2}
- ${third_device:-/dev/tty3}
- ${fourth_device:-/dev/tty4}
- ${fifth_device:-/dev/tty5}
# - /dev/sda:/dev/sda
# - /dev/disk/by-id/id-of-the-drive:/dev/sda
# - /dev/nvme1n1:/dev/nvme1n1
volumes:
scrutiny_config: