homeserver/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2
Michael Grote 5a660a8b02
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed
ff
2024-06-05 18:56:32 +02:00

9 lines
208 B
Django/Jinja

{{ file_header | default () }}
[Unit]
Description=Docker housekeeping tasks
[Service]
Type=simple
ExecStart=/usr/bin/docker system prune --force --filter "until=24h"
# https://docs.docker.com/config/pruning