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