steveternet/repull-all.sh

12 lines
219 B
Bash
Raw Permalink Normal View History

#!/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