loop it!
This commit is contained in:
parent
cad7bccf84
commit
ee9239d0fb
3 changed files with 9 additions and 57 deletions
22
pull-all.sh
22
pull-all.sh
|
@ -1,21 +1,5 @@
|
|||
#/bin/bash/
|
||||
|
||||
cd proxy/
|
||||
docker-compose pull
|
||||
cd ..
|
||||
|
||||
cd heimdall/
|
||||
docker-compose pull
|
||||
cd ..
|
||||
|
||||
cd portainer/
|
||||
docker-compose pull
|
||||
cd ..
|
||||
|
||||
cd smartHome/
|
||||
docker-compose pull
|
||||
cd ..
|
||||
|
||||
cd monitoring/
|
||||
docker-compose pull
|
||||
cd ..
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose pull);
|
||||
done
|
||||
|
|
22
start-all.sh
22
start-all.sh
|
@ -1,21 +1,5 @@
|
|||
#/bin/bash/
|
||||
|
||||
cd proxy/
|
||||
docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd heimdall/
|
||||
docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd portainer/
|
||||
docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd smartHome/
|
||||
docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd monitoring/
|
||||
docker-compose up -d
|
||||
cd ..
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose up -d);
|
||||
done
|
||||
|
|
22
stop-all.sh
22
stop-all.sh
|
@ -1,21 +1,5 @@
|
|||
#/bin/bash/
|
||||
|
||||
cd proxy/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd heimdall/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd portainer/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd smartHome/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd monitoring/
|
||||
docker-compose down
|
||||
cd ..
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose down);
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue