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

26 lines
811 B
YAML

.catalog:
name: "Janitor"
version: "v1.4.0"
description: "Docker cleanup"
uuid: janitor-0
questions:
- variable: "FREQUENCY"
label: "Frequency"
description: "Run the cleanup on a cycle of this many seconds"
default: 3600
required: true
type: "int"
- variable: "EXCLUDE_LABEL"
label: "Exclude label"
description: "Specify a Rancher host label here that will be used to determine on which hosts the container should not deploy."
default: janitor.exclude=true
required: true
type: "string"
- variable: "KEEP"
label: "Keep images"
description: "A comma separated list of images that should never be removed"
default: "rancher/agent:v0.8.2,rancher/agent-instance:v0.6.0"
required: false
type: "string"