-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Describe the bug
when I deploy a stack with portainer I use
labels:
com.docker.scope: "WATCHTOWER_MONITORED"
And the cointainers take the label.
In the stack of watchtower I have
- WATCHTOWER_SCOPE=WATCHTOWER_MONITORED # Solo monitorea contenedores con este scope
and in the log I see:
time="2024-10-26T09:54:47Z" level=info msg="Only checking containers in scope "WATCHTOWER_MONITORED""
time="2024-10-26T10:00:15Z" level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no
I have try with different combiinations changing label with comillas with slash.... but nothing work.
any idea?
bonus mi cron config is:
- WATCHTOWER_SCHEDULE=*/5 * * * * # Se ejecuta cada 5 minutos
google insists that this is 5 mins but logs write session each 5 seconds.
Steps to reproduce
deploy in docker swarm with portainer and introduce the config like description
Expected behavior
detects the containter
Screenshots
No response
Environment
docker swarm
portainer
1 node
Your logs
time="2024-10-26T09:54:47Z" level=info msg="Watchtower 1.7.1"
time="2024-10-26T09:54:47Z" level=info msg="Using no notifications"
time="2024-10-26T09:54:47Z" level=info msg="Only checking containers in scope \"WATCHTOWER_MONITORED\""
time="2024-10-26T09:54:47Z" level=info msg="Scheduling first run: 2024-10-26 09:54:50 +0000 UTC"
time="2024-10-26T09:54:47Z" level=info msg="Note that the first check will be performed in 2 seconds"
time="2024-10-26T09:54:50Z" level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no
Additional context
No response