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) <noreply@anthropic.com>
This commit is contained in:
parent
8ffb10d7e0
commit
a3217a9db4
@ -932,8 +932,11 @@ MANIFEST_EOF
|
|||||||
|
|
||||||
if [ "$FRONTEND_ONLY" = true ]; then
|
if [ "$FRONTEND_ONLY" = true ]; then
|
||||||
echo " Skipping container rebuilds (--frontend-only)"
|
echo " Skipping container rebuilds (--frontend-only)"
|
||||||
else
|
fi
|
||||||
# Rebuild and recreate LND UI container (port 8081 so Launch from UI and http://host:8081 both work)
|
|
||||||
|
# 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"
|
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
|
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)..."
|
echo " Recreating LND UI container (port 8081)..."
|
||||||
@ -1700,7 +1703,7 @@ LNDCONF
|
|||||||
# Ollama — optional, install from marketplace if needed
|
# Ollama — optional, install from marketplace if needed
|
||||||
# (removed from auto-deploy: large image, not needed for core functionality)
|
# (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)
|
# Ensure UFW allows forwarded traffic (required for podman container port access from LAN)
|
||||||
progress "Fixing UFW forward policy"
|
progress "Fixing UFW forward policy"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user