mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-03 06:10:23 +00:00
commit
a9c765956c
14
overrides/compose.backup-cron.yaml
Normal file
14
overrides/compose.backup-cron.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
services:
|
||||
ofelia:
|
||||
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"
|
Loading…
Reference in New Issue
Block a user