# documentation: https://duplicati.readthedocs.io
# slogan: Duplicati is a backup solution, allowing you to make scheduled backups with encryption.
# tags: backup, encryption
# logo: svgs/duplicati.webp

services:
  duplicati:
    image: lscr.io/linuxserver/duplicati:latest
    environment:
      - SERVICE_FQDN_DUPLICATI
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Madrid
    volumes:
      - duplicati-config:/config
      - duplicati-backups:/backups
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8200"]
      interval: 2s
      timeout: 10s
      retries: 15
