27 lines
700 B
YAML
Executable File
27 lines
700 B
YAML
Executable File
services:
|
|
duplicati:
|
|
image: ghcr.io/linuxserver/duplicati
|
|
container_name: duplicati
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- configduplicati:/config
|
|
- backups:/backups
|
|
- config:/source
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.duplicati.rule=Host(`duplicati.${TRAEFIK_DOMAIN}`)"
|
|
- "traefik.http.routers.duplicati.middlewares=common-auth@file"
|
|
|
|
volumes:
|
|
configduplicati:
|
|
driver: local-persist
|
|
driver_opts:
|
|
mountpoint: $HOST_CONFIG_PATH/duplicati
|
|
backups:
|
|
driver: local-persist
|
|
driver_opts:
|
|
mountpoint: $HOST_CONFIG_PATH/backups |