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