mirror of
https://github.com/ViViDboarder/docker-restic-cron.git
synced 2024-11-21 04:36:35 +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:
|
services:
|
||||||
restic:
|
restic:
|
||||||
build:
|
build:
|
||||||
@ -8,7 +9,6 @@ services:
|
|||||||
- ./my-backups:/backups
|
- ./my-backups:/backups
|
||||||
- ./my-data:/data:ro
|
- ./my-data:/data:ro
|
||||||
environment:
|
environment:
|
||||||
PASSPHRASE: Correct.Horse.Battery.Staple
|
RESTIC_PASSWORD: Correct.Horse.Battery.Staple Plus
|
||||||
CLEANUP_COMMAND: remove-older-than 5m
|
|
||||||
CRON_SCHEDULE: "* * * * *"
|
CRON_SCHEDULE: "* * * * *"
|
||||||
VERIFY_CRON_SCHEDULE: "* * * * *"
|
VERIFY_CRON_SCHEDULE: "* * * * *"
|
||||||
|
Loading…
Reference in New Issue
Block a user