docker.yml aktualisiert

This commit is contained in:
olli 2023-09-04 09:33:38 +02:00
parent 69b7eb1990
commit f1e1bc67c9

View File

@ -136,8 +136,10 @@
cd "${docker}"
if docker -l warn compose --ansi never pull --include-deps 2>&1 | grep " Pulled"
then
g_echo_warn "Installiere $docker Update"
#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)"
docker -l warn compose --ansi never up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
grep -q "Started" $g_tmp/up && g_echo_warn "$docker Update installiert"
fi
if [ -f Dockerfile ]
then