added docker-compose-up-all.sh
This commit is contained in:
parent
47ea507658
commit
5fb1f5ab6d
2 changed files with 9 additions and 2 deletions
7
docker-compose-up-all.sh
Normal file
7
docker-compose-up-all.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for dir in */; do
|
||||||
|
echo "up $dir"
|
||||||
|
docker-compose -f "$dir/docker-compose.yml" up -d
|
||||||
|
done
|
||||||
|
|
4
setup.sh
4
setup.sh
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
URL="https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/"
|
URL="https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/"
|
||||||
SCRIPTS=("healthcheck.sh" "login-notify.sh" "validate-remote-backup.sh")
|
SCRIPTS=("healthcheck.sh" "login-notify.sh" "validate-remote-backup.sh" "docker-compose-up-all.sh")
|
||||||
|
|
||||||
for script in "${SCRIPTS[@]}"; do
|
for script in "$@"; do
|
||||||
echo "Downloading $script"
|
echo "Downloading $script"
|
||||||
curl "$URL$script" >"$script"
|
curl "$URL$script" >"$script"
|
||||||
chmod +x "$script"
|
chmod +x "$script"
|
||||||
|
|
Reference in a new issue