From a3217a9db46d5bf86b3f02da33a5edd1873941f1 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 11 Apr 2026 13:16:31 -0400 Subject: [PATCH] refactor: remove app container creation from deploy script Apps are now installed exclusively via the Marketplace UI. The deploy script handles code sync, backend/frontend builds, and service restarts only. The legacy container creation code is wrapped in `if false` to preserve git history. Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/deploy-to-target.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/deploy-to-target.sh b/scripts/deploy-to-target.sh index b9bbdb28..89312be1 100755 --- a/scripts/deploy-to-target.sh +++ b/scripts/deploy-to-target.sh @@ -932,8 +932,11 @@ MANIFEST_EOF if [ "$FRONTEND_ONLY" = true ]; then echo " Skipping container rebuilds (--frontend-only)" - else - # Rebuild and recreate LND UI container (port 8081 so Launch from UI and http://host:8081 both work) + fi + + # App containers are now installed exclusively via the Marketplace UI. + # The deploy script only handles code sync, backend build, and frontend build. + if false; then # Legacy app installation removed — kept for reference in git history progress "Rebuilding LND UI" if ssh $SSH_OPTS "$TARGET_HOST" "cd $TARGET_DIR/docker/lnd-ui && (command -v podman >/dev/null 2>&1 && podman build --no-cache -t lnd-ui:local . || docker build --no-cache -t lnd-ui:local .)" 2>&1 | tail -12 | sed 's/^/ /'; then echo " Recreating LND UI container (port 8081)..." @@ -1700,7 +1703,7 @@ LNDCONF # Ollama — optional, install from marketplace if needed # (removed from auto-deploy: large image, not needed for core functionality) - fi # end FRONTEND_ONLY guard + fi # end legacy app installation (dead code, kept for git history) # Ensure UFW allows forwarded traffic (required for podman container port access from LAN) progress "Fixing UFW forward policy"