docker-restic-cron/docker-compose.yaml

15 lines
310 B
YAML
Raw Normal View History

2019-02-02 01:03:09 +00:00
version: '3.1'
2017-03-19 00:11:03 +00:00
services:
restic:
build:
context: .
dockerfile: Dockerfile
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:
2019-02-02 01:03:09 +00:00
RESTIC_PASSWORD: Correct.Horse.Battery.Staple Plus
2017-03-19 00:11:03 +00:00
CRON_SCHEDULE: "* * * * *"
VERIFY_CRON_SCHEDULE: "* * * * *"