change default to ignore *-datavolume containers in janitor:docker-cleanup
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
cleanup:
|
||||
image: meltwater/docker-cleanup:1.8.0
|
||||
environment:
|
||||
CLEAN_PERIOD: ${FREQUENCY}
|
||||
DELAY_TIME: "900"
|
||||
KEEP_IMAGES: "${KEEP}"
|
||||
KEEP_CONTAINERS: "${KEEPC}"
|
||||
KEEP_CONTAINERS_NAMED: "${KEEPCN}"
|
||||
LOOP: "${LOOP}"
|
||||
DEBUG: "${DEBUG}"
|
||||
labels:
|
||||
io.rancher.scheduler.global: "true"
|
||||
io.rancher.scheduler.affinity:host_label_ne: "${EXCLUDE_LABEL}"
|
||||
net: none
|
||||
privileged: true
|
||||
tty: false
|
||||
stdin_open: false
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker:/var/lib/docker
|
||||
Reference in New Issue
Block a user