Write restic db to local fs

This commit is contained in:
Einar Forselv 2019-11-26 20:00:54 +01:00
parent fb17795566
commit 73cb4c33f9
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@ services:
volumes:
# Map in docker socket
- /var/run/docker.sock:/tmp/docker.sock:ro
# Map backup database locally
- ./restic_data:/restic_data
# Map in project source
- .:/restic-volume-backup
web:

View File

@ -1,7 +1,7 @@
# DON'T COMMIT THIS FILE IF YOU MODIFY IN DEV
DOCKER_BASE_URL=unix://tmp/docker.sock
RESTIC_REPOSITORY=/tmp/backup
RESTIC_REPOSITORY=/restic_data
RESTIC_PASSWORD=password
# Various env vars for restic : https://restic.readthedocs.io/en/stable/040_backup.html#environment-variables