2020-03-08 18:12:12 +00:00
|
|
|
version: "2.3"
|
2020-02-14 21:26:15 +00:00
|
|
|
services:
|
|
|
|
duplicati:
|
|
|
|
image: linuxserver/duplicati:v2.0.5.1-2.0.5.1_beta_2020-01-18-ls52
|
|
|
|
container_name: duplicati
|
|
|
|
environment:
|
|
|
|
- PUID={{ docker_user.id }}
|
|
|
|
- PGID={{ docker_user.id }}
|
|
|
|
- TZ=Europe/London
|
|
|
|
volumes:
|
|
|
|
- ./config:/config
|
|
|
|
- ./backups:/backups
|
|
|
|
- /srv/nextcloud-data/data/:/source/nextcloud:ro
|
|
|
|
- /opt/gitea/repos/repositories:/source/repositories:ro
|
2020-03-27 17:50:47 +00:00
|
|
|
- /scratch/db-backups:/source/db-backups:ro
|
2020-02-14 21:26:15 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
|
|
|
|
- "traefik.http.routers.duplicati.tls=true"
|
|
|
|
- "traefik.http.routers.duplicati.tls.certresolver=le"
|
|
|
|
- "traefik.http.routers.duplicati.middlewares=internal-only@file"
|