Browse Source

Complete sample docker-compose.yaml

bionic
ViViDboarder 3 years ago
parent
commit
fd148ac502
  1. 2
      .gitignore
  2. 6
      docker-compose.yaml

2
.gitignore

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

6
docker-compose.yaml

@ -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…
Cancel
Save