services: watchtower: image: containrrr/watchtower:latest 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_POLL_INTERVAL=86400 - WATCHTOWER_MONITOR_ONLY=false - TZ=America/Chicago - DOCKER_API_VERSION=1.44 mem_limit: 256M memswap_limit: 256M logging: driver: "json-file" options: max-size: "50m" max-file: "3"