export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \
&& docker stack rm portainer \
&& echo 'sleeping...60' \
&& sleep 60 \
&& docker stack deploy -c docker-compose.yml portainer