improved starting git containers

added script for stopping git containers
This commit is contained in:
fabian 2022-12-13 15:09:31 +01:00
parent 4ac6ee989c
commit 3ed529867c

View File

@ -1,20 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
if [[ $# > 0 ]]; then
DOCKER_ROOT=$1;
else
DOCKER_ROOT=$(pwd);
fi
# echo $DOCKER_ROOT;
for subdir in $DOCKER_ROOT/*; do
if [[ !(-d $subdir) || ${subdir##*/} == "matrix_synapse" ]]; then
continue;
fi
# echo $subdir;
cd $subdir;
# echo $(pwd);
docker-compose up -d;
done