diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..32d041d --- /dev/null +++ b/compose.yaml @@ -0,0 +1,18 @@ +services: + duplicati: + image: lscr.io/linuxserver/duplicati:latest + container_name: duplicati + restart: unless-stopped + env_file: .env + ports: + - 8200:8200 + networks: + - proxy + volumes: + - ${CONFIG_MNT}:/config + - ${BACKUP_MNT}:/backups + - /var/lib/docker/volumes:/source + +networks: + proxy: + external: true diff --git a/example.env b/example.env new file mode 100644 index 0000000..adb4d23 --- /dev/null +++ b/example.env @@ -0,0 +1,7 @@ +PUID=1000 # user id. +PGID=1000 # group id. +TZ=America/New_York +SETTINGS_ENCRYPTION_KEY=secret +DUPLICATI__WEBSERVICE_PASSWORD=secret +CONFIG_MNT=/mnt +BACKUP_MNT=/mnt