Skripte angepasst

This commit is contained in:
Florian Zirker 2022-11-12 14:31:35 +01:00
parent f09a048c79
commit d3f687ea90
2 changed files with 13 additions and 0 deletions

View file

@ -1,5 +1,9 @@
#/bin/bash/ #/bin/bash/
for dir in ./*/ ; do
(cd "$dir" && echo "[$dir]" && docker-compose build);
done
for dir in ./*/ ; do for dir in ./*/ ; do
(cd "$dir" && echo "[$dir]" && docker-compose pull); (cd "$dir" && echo "[$dir]" && docker-compose pull);
done done

9
pull-min.sh Executable file
View file

@ -0,0 +1,9 @@
#/bin/bash/
function pull {
(cd "$1" && echo "[$1]" && docker-compose pull);
}
pull proxy;
pull telegraf;
pull portainer;