kody / Pull/Start all Docker Compose in subfolders
0 likes
0 forks
1 files
Last active
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