31 lines
754 B
YAML
31 lines
754 B
YAML
# Duplicati — Encrypted Offsite/Local Backup Client
|
|
services:
|
|
duplicati:
|
|
image: lscr.io/linuxserver/duplicati:latest
|
|
container_name: duplicati
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
- SETTINGS_ENCRYPTION_KEY=${SETTINGS_ENCRYPTION_KEY}
|
|
volumes:
|
|
- ${DATA_PATH}/config:/config
|
|
- ${DATA_PATH}/backups:/backups
|
|
- ${IMMICH_LIBRARY}:/source/photos:ro
|
|
- ${DOCKER_ROOT}:/source/apps:ro
|
|
ports:
|
|
- "${PORT}:8200"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:8200/ || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 20s
|
|
networks:
|
|
- main
|
|
|
|
networks:
|
|
main:
|
|
external: true
|