From a4bcd5e40e95d70901d77bd90cfe692f2cb03995 Mon Sep 17 00:00:00 2001 From: borgal Date: Tue, 5 Jul 2022 18:48:25 +0000 Subject: [PATCH] =?UTF-8?q?HP-Scan=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hp-scan/.env.sample | 2 ++ hp-scan/docker-compose.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 hp-scan/.env.sample create mode 100644 hp-scan/docker-compose.yml 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}" + +