services: backrest: image: ghcr.io/garethgeorge/backrest:latest container_name: backrest hostname: backrest volumes: - /home/thomas/backrest/data:/data - /home/thomas/backrest/config:/config - /home/thomas/backrest/cache:/cache - /home/thomas/backrest/tmp:/tmp - /home/thomas/backrest/rclone:/root/.config/rclone # Mount for rclone config (needed when using rclone remotes) # - /path/to/backup/data:/userdata # Mount local paths to backup # - /path/to/local/repos:/repos # Mount local repos (optional for remote storage) environment: - BACKREST_DATA=/data - BACKREST_CONFIG=/config/config.json - XDG_CACHE_HOME=/cache - TMPDIR=/tmp - TZ=Europe/Zurich ports: - "9898:9898" restart: unless-stopped