diff --git a/README.md b/README.md index ab9dea6..e161aea 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ All services are deployed using Docker compose and are run as a non-root user. * [ddclient](https://github.com/linuxserver/docker-ddclient) - DDNS * [SWAG](https://github.com/linuxserver/docker-swag) - reverse proxy with SSL certbot and fail2ban * [watchtower](https://github.com/containrrr/watchtower) - notifications about docker image updates +* [Duplicati](https://github.com/linuxserver/docker-duplicati) - cool backup + software ### Media * [Jellyfin](https://github.com/linuxserver/docker-jellyfin) - media server diff --git a/docker/.env.example b/docker/.env.example index d0d79d0..8244bcb 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -31,3 +31,9 @@ BW_ADMIN_TOKEN= # jellyfin JF_RENDER_GROUP= + +# duplicati +DUPLICATI_UID= +DUPLICATI_GID= +BACKUP_SOURCE_DIR= +BACKUP_DIR= diff --git a/docker/stacks/duplicati/duplicati.yml b/docker/stacks/duplicati/duplicati.yml new file mode 100644 index 0000000..ed74a70 --- /dev/null +++ b/docker/stacks/duplicati/duplicati.yml @@ -0,0 +1,21 @@ +services: + duplicati: + image: linuxserver/duplicati + container_name: duplicati + networks: + - duplicati + environment: + - PUID=${DUPLICATI_UID} + - PGID=${DUPLICATI_GID} + - TZ=${TIMEZONE} + volumes: + - ${APPS_DIR}/duplicati:/config + - ${BACKUP_DIR}:/backups + - ${BACKUP_SOURCE_DIR}:/source + ports: + - "8200:8200" + restart: unless-stopped + +networks: + duplicati: + name: duplicati