Skip to content

Automatic Updates

Use Watchtower to pull newer images and restart the selected containers.

Updates follow the tag in your Compose file. With the documented html2rss/web:1 image, Watchtower stays on major version 1.

Add this service to your existing docker-compose.yml:

services:
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Optional for private registries only:
# - "${HOME}/.docker/config.json:/config.json:ro"
command: --cleanup --interval 7200 html2rss-web botasaurus browserless caddy

Then restart the stack:

Terminal window
docker compose up -d

Operational notes:

  • Keep the Docker socket mount (read-only in this example).
  • Add the optional Docker config mount only if you pull private images that require registry auth.
  • The shown command scopes updates to html2rss-web, browserless, and caddy; change the service names if your stack differs.
  • Check docker compose logs watchtower to confirm scans and update runs.