Write restic db to local fs
This commit is contained in:
parent
fb17795566
commit
73cb4c33f9
|
@ -7,6 +7,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# Map in docker socket
|
# Map in docker socket
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
# Map backup database locally
|
||||||
|
- ./restic_data:/restic_data
|
||||||
# Map in project source
|
# Map in project source
|
||||||
- .:/restic-volume-backup
|
- .:/restic-volume-backup
|
||||||
web:
|
web:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# DON'T COMMIT THIS FILE IF YOU MODIFY IN DEV
|
# DON'T COMMIT THIS FILE IF YOU MODIFY IN DEV
|
||||||
|
|
||||||
DOCKER_BASE_URL=unix://tmp/docker.sock
|
DOCKER_BASE_URL=unix://tmp/docker.sock
|
||||||
RESTIC_REPOSITORY=/tmp/backup
|
RESTIC_REPOSITORY=/restic_data
|
||||||
RESTIC_PASSWORD=password
|
RESTIC_PASSWORD=password
|
||||||
|
|
||||||
# Various env vars for restic : https://restic.readthedocs.io/en/stable/040_backup.html#environment-variables
|
# Various env vars for restic : https://restic.readthedocs.io/en/stable/040_backup.html#environment-variables
|
||||||
|
|
Loading…
Reference in New Issue