stacks/gdrive-backup/docker-compose.yaml

18 lines
339 B
YAML
Raw Normal View History

2021-12-17 09:38:07 -07:00
version: "3.8"
services:
cron:
image: rclone/rclone
configs:
- source: backup.sh
target: /etc/periodic/daily/gdrive-backup
volumes:
- type: bind
source: /mnt/
target: /mnt/
entrypoint: [ "/usr/sbin/crond", "-fd", "8" ]
configs:
backup.sh:
file: backup.sh
name: backup.sh-v1