services: watchtower: image: containrrr/watchtower:1.7.1 command: --label-enable --cleanup --interval 3600 environment: DOCKER_API_VERSION: "1.44" volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/localtime:/etc/localtime:ro restart: unless-stopped security_opt: - no-new-privileges:true read_only: true tmpfs: - /tmp:noexec,nosuid,size=10m