This is my Yaml File:
Code
networks:
my-net:
external: true
services:
scrutiny:
container_name: scrutiny
networks:
my-net:
image: ghcr.io/analogj/scrutiny:master-omnibus
cap_add:
- SYS_RAWIO
volumes:
- $ConfigPath/scrutiny:/opt/scrutiny/config
- $ConfigPath/scrutiny:/opt/scrutiny/influxdb
- /run/udev:/run/udev:ro
ports:
- 89:8080 # webapp
- 86:8086 # influxDB admin
devices:
- "/dev/sda"
- "/dev/sdb"
- "/dev/sdc"
- "/dev/sdd"
- "/dev/sde"
- "/dev/sdf"
- "/dev/sdg"
restart: unless-stopped
Alles anzeigen
only need to define $variables
eg: PUID=1001
etc...
and define your "real" disk ( in my case disk sda to sdg)
and use my-net on all my dockers ( my-net is a new bridge network that I created on portainer webGUI, but is posible to create on Docker-compose webGUI or in CLI)
some examples: