Update docker-compose.yml

This commit is contained in:
Mauricio Siu
2025-03-26 01:56:34 -06:00
committed by GitHub
parent 4d55a64895
commit 31038da0f8

View File

@@ -11,11 +11,11 @@ services:
- XDG_CACHE_HOME=/cache # backup cache - XDG_CACHE_HOME=/cache # backup cache
- TZ=${TZ} - TZ=${TZ}
volumes: volumes:
- backrest/data:/data - backrest:/data
- backrest/config:/config - backrest:/config
- backrest-cache:/cache # to preserve backup cache between restarts - backrest-cache:/cache # to preserve backup cache between restarts
- /:/userdata:ro # we mount /mnt/data to /userdata (that we want to backup) - /:/userdata:ro # we mount /mnt/data to /userdata (that we want to backup)
volumes: volumes:
- backrest: {} backrest:
- backrest-cache: {} backrest-cache: