fix: smart update stops and removes old containers before redeploy

This commit is contained in:
Claus Lohmar 2026-07-10 23:21:33 +01:00
parent cd4c48b2f5
commit 960ee5bc7c

View file

@ -119,7 +119,9 @@ if [ "$GREENFIELD" = true ]; then
# --- Smart update --- # --- Smart update ---
else else
echo "[3/5] Redeploying containers..." echo "[3/5] Redeploying containers..."
podman-compose -f "$TARGET_DIR/compose/stack.yaml" up -d 2>&1 || true podman stop caddy authelia launcher 2>/dev/null || true
podman rm caddy authelia launcher 2>/dev/null || true
podman-compose -f "$TARGET_DIR/compose/stack.yaml" up -d 2>&1 || echo "[WARN] Stack deploy had issues"
fi fi
# --- Health check --- # --- Health check ---