kody revised this gist . Go to revision
1 file changed, 9 insertions
pullAll.sh(file created)
@@ -0,0 +1,9 @@ | |||
1 | + | #!/bin/bash | |
2 | + | for f in ./*/docker-compose.yml; do | |
3 | + | [ -e "$f" ] || continue | |
4 | + | cd "$(dirname "$f")" | |
5 | + | docker compose pull | |
6 | + | docker compose down | |
7 | + | docker compose up -d | |
8 | + | cd .. | |
9 | + | done |
Newer
Older