diff --git a/hp-scan/.env.sample b/hp-scan/.env.sample new file mode 100644 index 0000000..ce30579 --- /dev/null +++ b/hp-scan/.env.sample @@ -0,0 +1,2 @@ +NFS_SERVER=192.168.0.xxx +PFAD=/mnt/pool1/scanner \ No newline at end of file diff --git a/hp-scan/docker-compose.yml b/hp-scan/docker-compose.yml new file mode 100644 index 0000000..35259f5 --- /dev/null +++ b/hp-scan/docker-compose.yml @@ -0,0 +1,29 @@ +version: "3" + +services: + hp-scan: + image: manuc66/node-hp-scan-to:latest + container_name: hp-scan + hostname: TrueNAS + environment: + - IP=192.168.0.11 + - PATTERN="scan"_dd.mm.yyyy_hh:MM:ss + - PGID=1000 + - PUID=1000 + - TZ=Europe/Berlin + labels: + - "com.centurylinklabs.watchtower.enable=false" + volumes: + - scan:/scan + restart: always + +volumes: + scan: + name: scan + driver: local + driver_opts: + type: nfs + o: addr=${NFS_SERVER},rw + device: ":${PFAD}" + +