added maintenance script
This commit is contained in:
parent
26c28e7030
commit
ec81f053cb
1 changed files with 14 additions and 0 deletions
14
setup.sh
Executable file
14
setup.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Mounting..."
|
||||
mount -a
|
||||
|
||||
for dir in */
|
||||
do
|
||||
echo "Pull&Restart ${dir}"
|
||||
cd $dir
|
||||
docker compose down
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
cd ..
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue