Merge branch 'master' of ssh://git.szimnau.de:222/fabian/sync
This commit is contained in:
commit
9761635055
20
scripts/startContainers.sh
Executable file
20
scripts/startContainers.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user