Added shell scripts

This commit is contained in:
2026-01-10 18:08:45 +02:00
parent 34da9dcfa4
commit 8b6b484a00
4 changed files with 49 additions and 0 deletions

10
clean.sh Executable file
View File

@@ -0,0 +1,10 @@
set -xeu
docker image prune
docker container prune
docker volume prune
docker builder prune

12
power-all-docker.sh Executable file
View File

@@ -0,0 +1,12 @@
set -xeu
for dir in */; do
cd $dir
docker-compose up -d
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*
# cd ..
#done
cd ..
done

12
shutdown-all-docker.sh Executable file
View File

@@ -0,0 +1,12 @@
set -xeu
for dir in */; do
cd $dir
docker-compose down
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*
# cd ..
#done
cd ..
done

15
update-all-docker.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -xeu
for dir in */; do
cd $dir
docker compose down
docker compose pull
docker compose up -d
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*
# cd ..
#done
cd ..
done