version: "3.9" services: backup: container_name: portainer-backup image: savagesoftware/portainer-backup:latest environment: TZ: Europe/Paris PUID: 1028 PGID: 100 PORTAINER_BACKUP_URL: "http://:9000" # To be replaced by the IP of your NAS PORTAINER_BACKUP_TOKEN: # To be replaced by your token PORTAINER_BACKUP_SCHEDULE: "0 0 0,12 * * *" PORTAINER_BACKUP_STACKS: true PORTAINER_BACKUP_OVERWRITE: true command: "schedule" volumes: - :/backup:rw # Must be replaced by your path to backup filee