diff --git a/docker/helper/helper.go b/docker/helper/helper.go index 5ea13ba..1723dc7 100644 --- a/docker/helper/helper.go +++ b/docker/helper/helper.go @@ -478,6 +478,14 @@ func convertLabels(labels map[string]string) Labels { func (dh *DockerHelper) parseLocalConfiguration(labels map[string]string) (config.ContainerConfiguration, error) { c := dh.config.GlobalContainerConfiguration + if enable, ok := labels["com.thelilfrog.image.update.enable"]; ok { + if strings.ToLower(enable) == "true" { + c.Enabled = true + } else { + c.Enabled = false + } + } + if schedule, ok := labels["com.thelilfrog.image.update.schedule"]; ok { _, err := cron.ParseStandard(schedule) if err != nil {