docker-restic-cron/docker-compose.yaml

15 lines
351 B
YAML
Raw Normal View History

2017-03-19 00:11:03 +00:00
version: '2'
services:
duplicity:
build:
context: .
dockerfile: Dockerfile.ubuntu
2017-03-19 00:11:03 +00:00
volumes:
- ./my-backups:/backups
- ./my-data:/data:ro
2017-03-19 00:11:03 +00:00
environment:
PASSPHRASE: Correct.Horse.Battery.Staple
CLEANUP_COMMAND: remove-older-than 5m
CRON_SCHEDULE: "* * * * *"
VERIFY_CRON_SCHEDULE: "* * * * *"