infrastructure/ansible/roles/docker/files/duplicati/docker-compose.yml

23 lines
814 B
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
2020-02-14 21:26:15 +00:00
services:
duplicati:
2020-04-18 22:53:15 +01:00
image: linuxserver/duplicati:v2.0.5.1-2.0.5.1_beta_2020-01-18-ls56
2020-02-14 21:26:15 +00:00
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
- /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"