mirror of
https://github.com/ViViDboarder/docker-restic-cron.git
synced 2024-11-21 12:46:36 +00:00
Complete sample docker-compose.yaml
This commit is contained in:
parent
ebb9c93e47
commit
fd148ac502
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
my-backups/*
|
||||
my-data/*
|
@ -1,4 +1,5 @@
|
||||
version: '2'
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
restic:
|
||||
build:
|
||||
@ -8,7 +9,6 @@ services:
|
||||
- ./my-backups:/backups
|
||||
- ./my-data:/data:ro
|
||||
environment:
|
||||
PASSPHRASE: Correct.Horse.Battery.Staple
|
||||
CLEANUP_COMMAND: remove-older-than 5m
|
||||
RESTIC_PASSWORD: Correct.Horse.Battery.Staple Plus
|
||||
CRON_SCHEDULE: "* * * * *"
|
||||
VERIFY_CRON_SCHEDULE: "* * * * *"
|
||||
|
Loading…
Reference in New Issue
Block a user