version: "3" services: watchtower: image: containrrr/watchtower restart: always env_file: - .env - .secret.env hostname: ${HOSTNAME} volumes: - /var/run/docker.sock:/var/run/docker.sock