Files
docker-infrastructure/backrest/docker-compose.yaml
T
poprhythm e9bf43469c Switch backrest and filebrowser-colleen-hd to systemd automount bind mount
Replace Docker CIFS named volumes with bind mounts to /mnt/nas_backup,
which is managed by a systemd automount unit. This handles drive spin-down
reconnection independently of Docker container lifecycle.
2026-02-20 21:30:57 +00:00

25 lines
725 B
YAML

version: "3.8"
services:
backrest:
image: garethgeorge/backrest:latest
container_name: backrest
hostname: backrest
volumes:
- /srv/backrest/data:/data
- /srv/backrest/config:/config
- /srv/backrest/cache:/cache
- /srv/backrest/tmp:/tmp
- /srv/backrest/rclone:/root/.config/rclone # Mount for rclone config (needed when using rclone remotes)
- /srv:/srv-data # Mount local paths to backup
- /mnt/nas_backup/nas-docker-data:/backup-export
environment:
- BACKREST_DATA=/data
- BACKREST_CONFIG=/config/config.json
- XDG_CACHE_HOME=/cache
- TMPDIR=/tmp
- TZ=America/New_York
ports:
- "9898:9898"
restart: unless-stopped