Closed gabry45 closed 1 year ago
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏
The default healthcheck interval is 30 seconds for docker. It looks like your event log contains as many healthcheck events from Jellyfin as for watchtower (the /watchtower --healthcheck
are the ones that watchtower produces, and curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1
are the Jellyfin ones).
Both seem to use the default interval of 30s.
You can lower the interval by specifying --health-interval 1h
on the docker run command line. See: https://docs.docker.com/engine/reference/run/#healthcheck
You're completely right, sorry about this. I've disabled it with --no-healthcheck, since I have no real use for it. Thanks a lot, have a good rest of your day.
Describe the bug
I see a lot of activity in the "Events" tab of Portainer, seemingly generated by Watchtower healthcheck alone (see screenshot below). It is generating these logs every 30s. Is this expected behavior?
Steps to reproduce
I just ran a container from Docker CLI without any options added, basically following your documentation. This is the command that I am using to spin up the container now, with no difference whatsoever in reproducing the issue:
sudo docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock -v /etc/localtime:/etc/localtime:ro -e WATCHTOWER_DEBUG=true -e WATCHTOWER_ROLLING_RESTART=true -e WATCHTOWER_SCHEDULE=" 30 4 ? SUN" -e WATCHTOWER_TIMEOUT=60s containrrr/watchtower:latest
Expected behavior
Just seeing logs one time at the container startup and not this many times. I also have a Jellyfin container with Healtcheck implemented and it does seems not generate this many log entries.
Screenshots
Environment
Your logs
Additional context
No response