xoxys.docker_tidy/defaults/main.yml

36 lines
1.2 KiB
YAML
Raw Normal View History

2020-03-21 11:40:49 +00:00
---
2020-03-21 13:05:43 +00:00
# @var dockertidy_image:description: Docker image to use.
2020-09-27 21:24:18 +00:00
dockertidy_image: thegeeklab/docker-tidy:latest
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @var dockertidy_interval:description: Interval for the systemd timer.
dockertidy_interval: daily
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @var dockertidy_dry_run:description: Only log actions, don't cleanup anything.
dockertidy_dry_run: False
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @var dockertidy_log_level:description: Current log level.
dockertidy_log_level: warning
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @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"
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @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"
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @var dockertidy_dangling_volumes:description: Remove dangling volumes.
dockertidy_dangling_volumes: False
2020-03-21 11:40:49 +00:00
2020-03-21 13:05:43 +00:00
# @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