From 6a6ac69af34756e17e27938086b5a392b0ce8e19 Mon Sep 17 00:00:00 2001 From: borgal Date: Wed, 29 Sep 2021 15:21:23 +0000 Subject: [PATCH] =?UTF-8?q?Duplicati=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- duplicati/.env.sample | 2 ++ duplicati/docker-compose.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 duplicati/.env.sample create mode 100644 duplicati/docker-compose.yml diff --git a/duplicati/.env.sample b/duplicati/.env.sample new file mode 100644 index 0000000..632619a --- /dev/null +++ b/duplicati/.env.sample @@ -0,0 +1,2 @@ +NFS_SERVER=192.168.0.xxx # oder hostname oder Domain +PFAD=/Pfad/zum/Ordner \ No newline at end of file diff --git a/duplicati/docker-compose.yml b/duplicati/docker-compose.yml new file mode 100644 index 0000000..c65802a --- /dev/null +++ b/duplicati/docker-compose.yml @@ -0,0 +1,26 @@ +version: "2.1" +services: + duplicati: + image: ghcr.io/linuxserver/duplicati + container_name: duplicati + environment: + - PUID=0 + - PGID=0 + - TZ=Europe/Berlin + - CLI_ARGS= #optional + volumes: + - ./config:/config + - backup:/backups + - /opt:/source + ports: + - 8200:8200 + restart: unless-stopped + +volumes: + backup: + name: backup + driver: local + driver_opts: + type: nfs + o: addr=${NFS_SERVER},rw + device: ":${PFAD}"