UrlsController/shutdownController.sh

9 lines
295 B
Bash
Raw Normal View History

echo "Running compose down.."
sudo docker compose down
echo "Stopping the running container.."
sudo docker stop "$(sudo docker ps -aqf "name=^urlscontroller-urls_controller-1$")"
echo "Removing the container.."
sudo docker rm "$(sudo docker ps -aqf "name=^urlscontroller-urls_controller-1$")"