Update backrest/docker-compose.yaml
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
backup-mount:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=192.168.1.4,rw,nolock,soft"
|
||||
device: ":/srv/backup/photon"
|
||||
|
||||
services:
|
||||
backrest:
|
||||
image: garethgeorge/backrest:latest
|
||||
@@ -11,7 +20,7 @@ services:
|
||||
- /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/backup-export:/backup-export # NFS share backup destination
|
||||
- backup-mount:/backup-export # NFS share backup destination
|
||||
environment:
|
||||
- BACKREST_DATA=/data
|
||||
- BACKREST_CONFIG=/config/config.json
|
||||
|
||||
Reference in New Issue
Block a user