docker.yml aktualisiert

This commit is contained in:
olli 2024-02-25 12:56:43 +01:00
parent 5e0e8fa2da
commit 704ce58f5c

View File

@ -196,8 +196,9 @@
then
#g_echo_warn "Installiere $docker Update"
#docker -l warn compose --ansi never up -d --force-recreate >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
echo $$ >/tmp/$(basename $docker)
docker -l warn compose --ansi never up -d --remove-orphans >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
egrep -v -- "-wpcli" $g_tmp/up | grep -q "Started" && g_echo_warn "$docker Update installiert"
egrep -v -- "-wpcli" $g_tmp/up | grep "Started" >${g_tmp}/started && g_echo_warn "$docker Update installiert: $(cat ${g_tmp}/started)"
fi
if [ -f Dockerfile ]
then