community-catalog/templates/janitor/0/docker-compose.yml
2016-03-04 01:45:37 +00:00

16 lines
407 B
YAML

cleanup:
image: meltwater/docker-cleanup:1.4.0
environment:
CLEAN_PERIOD: ${FREQUENCY}
DELAY_TIME: "900"
KEEP_IMAGES: ${KEEP}
labels:
io.rancher.scheduler.global: "true"
io.rancher.scheduler.affinity:host_label_ne: ${EXCLUDE_LABEL}
privileged: true
tty: true
stdin_open: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker