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