Updated start/stop scripts to use docker compose, as docker-compose has been deprecated
This commit is contained in:
parent
0cf401ac8c
commit
e4d9f69e3f
3 changed files with 8 additions and 10 deletions
4
naspi/all-start.sh
Executable file
4
naspi/all-start.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# will skip folders with a leading "_" (indicating not used)
|
||||
for d in ./[^_]*/ ; do (cd $d && docker compose up -d && cd ..); done
|
4
naspi/all-stop.sh
Executable file
4
naspi/all-stop.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# will skip folders with a leading "_" (indicating not used)
|
||||
for d in ./[^_]*/ ; do (cd $d && docker compose down && cd ..); done
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
|
||||
echo "Incorrect directory for host"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# will skip folders with a leading "_" (indicating not used)
|
||||
|
||||
for d in ./[^_]*/ ; do (cd $d && docker-compose up -d && cd ..); done
|
Loading…
Reference in a new issue