diff --git a/shutdownController.sh b/shutdownController.sh new file mode 100755 index 0000000..ffaea71 --- /dev/null +++ b/shutdownController.sh @@ -0,0 +1,8 @@ +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$")"