From 960ee5bc7c4336acea6f301796fffb1eb8c4b41c Mon Sep 17 00:00:00 2001 From: cclohmar Date: Fri, 10 Jul 2026 23:21:33 +0100 Subject: [PATCH] fix: smart update stops and removes old containers before redeploy --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 8f94510..400804a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -119,7 +119,9 @@ if [ "$GREENFIELD" = true ]; then # --- Smart update --- else 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 # --- Health check ---