12 lines
219 B
Bash
12 lines
219 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for dir in */ ; do
|
||
|
if [ -d "$dir" ]; then
|
||
|
echo "Entering directory: $dir"
|
||
|
cd "$dir"
|
||
|
docker compose down && docker compose pull && docker compose up -d
|
||
|
cd ..
|
||
|
fi
|
||
|
done
|
||
|
|