Skip to content

feat(cli): support multiple local deployments and configurable host ports - #28

Merged
Tynwink2000 merged 5 commits into
mainfrom
feat/multi-deployment-discovery
Nov 11, 2026
Merged

Tynwink2000 merged 5 commits into
mainfrom
feat/multi-deployment-discovery

Conversation

@Tynwink2000

Copy link
Copy Markdown
Contributor

Multiple local deployments shared a single discovery record and fixed host ports, so installing another instance could conflict with an existing one. This change discovers and selects deployments through contexts and makes each installation's Compose project and published host ports configurable.

  • Track multiple registered deployments, add context list --discover, and select local lifecycle targets through the existing context/endpoint flow, rejecting ambiguous matches.
  • Add install --project, --plugin-debug-port (0 disables publishing), and --adapter-ports (none disables publishing). Use the same settings for preflight and Compose generation, persist them for upgrades, and preserve legacy deployments and container-side ports.
  • Include the branch's existing authentication fixes: actionable API-key setup guidance, distinct rejected-credential errors, and a resolved timeout for credential stdin reads.
  • Update documentation and preserve the latest main-branch README layout.

Validation: go test ./..., go vet ./..., build/help/schema checks, and Docker Compose parsing for default, custom, and disabled port publishing passed locally. Regression tests cover occupied ports, multiple projects, persisted settings, legacy records, upgrades, and context selection. No live container startup was performed because the local Docker daemon is unavailable; cross-platform race checks run in CI.

Fixes #26

Allow remapping or disabling Runtime debug and adapter host ports. Use selected ports and project for preflight, persist settings, and preserve them during upgrades while supporting legacy records.

Fixes #26
…-discovery

# Conflicts:
#	README.md
#	README_CN.md
#	README_ES.md
#	README_FR.md
#	README_JP.md
#	README_KO.md
#	README_RU.md
#	README_TW.md
#	README_VI.md
@Tynwink2000
Tynwink2000 merged commit a1a162c into main Nov 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuring or disabling fixed host ports during install

1 participant