Add the "shutdownController.sh" script.
This commit is contained in:
parent
fd15372fd6
commit
3473d91ce4
|
@ -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$")"
|
Loading…
Reference in New Issue