docker stack rm portainer
echo 'sleeping...60'
sleep 60
docker stack deploy -c docker-compose.yml portainer