Added check if docker-compose.yml exists before running scripts = it does not block on non-docker folders

This commit is contained in:
2026-01-25 14:25:57 +02:00
parent 8467f69fb8
commit 6c3a9eb7df
2 changed files with 4 additions and 0 deletions

View File

@@ -2,7 +2,9 @@ set -xeu
for dir in */; do
cd $dir
if [ -f ./docker-compose.yaml ]; then
docker-compose up -d
fi
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*