server/main-spindown.sh

29 lines
377 B
Bash

#Script file for spinning down all docker-containers
cd ./Websites/
docker-compose down
cd ..
cd ./Development/Gitea/
docker-compose down
cd ../..
cd ./Database/
docker-compose down
cd ..
cd ./Bitwarden/
docker-compose down
cd ..
cd ./Misc/
docker-compose down
cd ..
cd ./Traefik/
docker-compose down
cd ..
docker rmi $(docker images -q)
docker system prune