Complete sample docker-compose.yaml

This commit is contained in:
ViViDboarder 2019-02-01 17:03:09 -08:00
parent ebb9c93e47
commit fd148ac502
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
my-backups/*
my-data/*

View File

@ -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: "* * * * *"