From 83ce7893ee20bf86ae5eec31a044ab85602713c8 Mon Sep 17 00:00:00 2001 From: Florian Zirker Date: Thu, 14 Jan 2021 21:52:41 +0100 Subject: [PATCH] Scripts to start, stop and pull all. --- pull-all.sh | 6 ++++++ start-all.sh | 6 ++++++ stop-all.sh | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100755 pull-all.sh create mode 100755 start-all.sh create mode 100755 stop-all.sh diff --git a/pull-all.sh b/pull-all.sh new file mode 100755 index 0000000..f7ddb89 --- /dev/null +++ b/pull-all.sh @@ -0,0 +1,6 @@ +#/bin/bash/ + +for dir in ./*/ ; do + (cd "$dir" && echo "[$dir]" && docker-compose pull); +done + diff --git a/start-all.sh b/start-all.sh new file mode 100755 index 0000000..19e4cdf --- /dev/null +++ b/start-all.sh @@ -0,0 +1,6 @@ +#/bin/bash/ + +for dir in ./*/ ; do + (cd "$dir" && echo "[$dir]" && docker-compose up -d); +done + diff --git a/stop-all.sh b/stop-all.sh new file mode 100755 index 0000000..19e4cdf --- /dev/null +++ b/stop-all.sh @@ -0,0 +1,6 @@ +#/bin/bash/ + +for dir in ./*/ ; do + (cd "$dir" && echo "[$dir]" && docker-compose up -d); +done +