2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-10 09:02:13 +00:00
frappe_docker/overrides/compose.backup-cron.yaml

16 lines
423 B
YAML
Raw Normal View History

2024-12-22 08:59:14 +00:00
services:
2024-12-25 05:58:22 +00:00
cron:
2024-12-22 08:59:14 +00:00
image: mcuadros/ofelia:latest
depends_on:
- scheduler
command: daemon --docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
scheduler:
labels:
ofelia.enabled: "true"
ofelia.job-exec.datecron.schedule: "${BACKUP_CRONSTRING:-@every 6h}"
ofelia.job-exec.datecron.command: "bench --site all backup"
2024-12-25 05:58:22 +00:00
ofelia.job-exec.datecron.user: "frappe"