From de9baa1ca4c6e868f77162a16e21244c9ca96885 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 16 Jun 2025 09:56:32 +0000 Subject: [PATCH] =?UTF-8?q?duplicati/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- duplicati/docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 duplicati/docker-compose.yml diff --git a/duplicati/docker-compose.yml b/duplicati/docker-compose.yml new file mode 100644 index 0000000..21ce426 --- /dev/null +++ b/duplicati/docker-compose.yml @@ -0,0 +1,18 @@ +services: + duplicati: + image: lscr.io/linuxserver/duplicati:latest + container_name: ${CONTAINER_NAME:-duplicati} + environment: + - PUID=${PUID:-1000} # Your User ID here! Find with 'id -u' + - PGID=${PGID:-1000} # Your Group ID here! Find with 'id -g' + - TZ=${TZ:-Europe/Berlin} # Your Timezone + - SETTINGS_ENCRYPTION_KEY=${ENCRYPTION_KEY} # Encryption key for settings (important!) - CHANGE THIS! + # - CLI_ARGS=${CLI_ARGS} # Optional: Extra command-line arguments + volumes: + - ${CONFIG_DIR:-./config}:/config # Where Duplicati stores its settings + - ${BACKUP_DIR:-./backups}:/backups # Where backups land (local, changeable!) + - ${DATA_DIR}:/source/data:ro # IMPORTANT: Map your data here! + #- /path/to/host/data2:/source/data2:ro # More data to back up + ports: + - "${HOST_PORT}:8200" # Port for accessing the web interface + restart: ${RESTART_POLICY:-unless-stopped} \ No newline at end of file