Improve start-all and pull-all. More services

This commit is contained in:
Florian Zirker 2023-02-07 13:28:04 +01:00
parent 1fde2cc515
commit 393b2a6053
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -5,9 +5,9 @@ function up {
(cd "$1" && echo "[$1]" && docker compose up -d "${@:2}");
}
up proxy;
up proxy --scale whoami=3;
up monitoring;
up nextcloud --scale app=3 --scale web=2;
up nextcloud --scale app=5 --scale web=3;
up gitea;
up wallabag;
up www;