13 lines
165 B
Bash
Executable file
13 lines
165 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
cd /opt/docker || exit
|
|
|
|
for i in *; do (set -e
|
|
cd "$i"
|
|
docker-compose pull
|
|
docker-compose up -d
|
|
) & done
|
|
|
|
docker image prune -f
|
|
|
|
wait
|