mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 05:05:12 +09:00
Plan 87 phase B. An app that opts in keeps two slots, like the panel updater's two installs. A deploy boots the new release in the idle slot on its own loopback port while the live one serves, holds it to the health gate, then switches nginx by moving app.port to the new slot and rewriting the vhost, so every app.port reader follows without edits. A watch window switches back on its own if the release falls over; the old slot stays warm for an instant switch back, then is stopped (not removed) by a standby sweep. Opting in adopts the running container as slot a with no restart. Eligibility is shown with reasons and re-checked on every deploy; opting out folds the slots back on the next in-place deploy. Slot images are never pruned and slot ports stay reserved.