infrastructure/ansible/roles/intersect-docker/files/duplicati/docker-compose.yml
Jake Howard b9e6e8801e
Mount a directory for restore testing
And for actual restores, should the time come...
2020-05-18 12:08:10 +01:00

21 lines
764 B
YAML

version: "2.3"
services:
duplicati:
image: linuxserver/duplicati:v2.0.5.1-2.0.5.1_beta_2020-01-18-ls58
container_name: duplicati
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- ./config:/config
- ./restore:/restore
- /srv/nextcloud-data/data/:/source/nextcloud:ro
- /opt/gitea/repos/repositories:/source/repositories:ro
- /scratch/db-backups:/source/db-backups:ro
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
- "traefik.http.routers.duplicati.tls.certresolver=le"
- "traefik.http.routers.duplicati.middlewares=internal-only@file"