xoxys.docker_tidy/defaults/main.yml

36 lines
1.2 KiB
YAML

---
# @var dockertidy_image:description: Docker image to use.
dockertidy_image: thegeeklab/docker-tidy:latest
# @var dockertidy_interval:description: Interval for the systemd timer.
dockertidy_interval: daily
# @var dockertidy_dry_run:description: Only log actions, don't cleanup anything.
dockertidy_dry_run: False
# @var dockertidy_log_level:description: Current log level.
dockertidy_log_level: warning
# @var dockertidy_max_container_age:description: >
# Maximum age for a container, containers older than this age will be removed.
# @end
dockertidy_max_container_age: "5 days ago"
# @var dockertidy_max_image_age:description: >
# Maxium age for an image, images older than this age will be removed.
# @end
dockertidy_max_image_age: "3 days ago"
# @var dockertidy_dangling_volumes:description: Remove dangling volumes.
dockertidy_dangling_volumes: False
# @var dockertidy_exclude_image:description: Never remove images with this tag.
dockertidy_exclude_images: []
# @var dockertidy_exclude_container_label:description: >
# Never remove containers with this label `key` or label `key=value`.
# @end
dockertidy_exclude_container_labels: []
dockertidy_docker_socket_path: /var/run/docker.sock