Improve start-all and pull-all. More services
This commit is contained in:
parent
1fde2cc515
commit
393b2a6053
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue