renovate(role): add cleanup service and timer for renovate volume
With time the volume seems to just keeps growing with cache data, so clean it up once a day.
This commit is contained in:
parent
62a1fba9bc
commit
ca04b71f94
3 changed files with 29 additions and 16 deletions
9
roles/renovate/files/renovate-cleanup.timer
Normal file
9
roles/renovate/files/renovate-cleanup.timer
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=renovate cleanup (delete docker volume) running daily
|
||||
|
||||
[Timer]
|
||||
# @daily with 10 minute offset
|
||||
OnCalendar=*-*-* 00:10
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue