services: watchtower: image: nickfedor/watchtower:latest # containrrr/watchtower is archived upstream (2026-10-26) container_name: watchtower restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock:ro environment: - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true - WATCHTOWER_SCHEDULE=0 0 4,16 * * * # twice daily, 04:00 + 16:00 local - WATCHTOWER_MONITOR_ONLY=false - TZ=America/Chicago - DOCKER_API_VERSION=1.44 mem_limit: 256M logging: driver: "json-file" options: max-size: "50m" max-file: "3"