Repository navigation
docs(adr): 0048, a container's main port can move with the main slot - #190
Merged
Merged
Conversation
…(Proposed) Part 2 of #184. Opt-in per Compose service (`main_ports`): the main tree's overlay publishes such a container on an instance port, devstack holds the fixed port with a forward (ADR-0043's Front, on the Compose file's address), and `promote --lane` flips it to the lane's port. The main tree's container keeps running; TCP only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tly; no crosstalk Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposal for part 2 of #184, for the project owner to decide. No code depends on it yet.
What it proposes
[compose.<group>] main_ports = ["realmd", "mangosd"].tcpfwd::Front, as in ADR-0043). It listens on the address the Compose file names, so a bare3724:3724still answers on every interface for clients on the LAN. It holds connections while the container starts, forwards while it runs, and refuses while it is stopped.promote --laneflips the forward to the lane's port: the Compose file's host port plus the lane's offset, either published locally or forwarded from the node.--lane mainflips it back.moves_main_slotcounts these services, so such a stack is no longer refused.promotesays which ports stayed.Answers to the issue's open questions
statuswording (point 3 of the issue): left out here; see "What this ADR does not say".Costs
🤖 Generated with Claude Code