mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-11-23 16:02:29 +00:00
Write restic db to local fs
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user