Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI UI: start on port 8092 by default #647

Merged
merged 2 commits into from
Oct 25, 2023
Merged

CLI UI: start on port 8092 by default #647

merged 2 commits into from
Oct 25, 2023

Conversation

nicoloboschi
Copy link
Member

Fixes #641

Changes:

  • By default apps ui and docker run start the UI on port 8092
  • There's a option to change the port. 0 means ephimeral (like before). -p for apps ui and -up for docker run

@@ -56,6 +57,12 @@ public class UIAppCmd extends BaseApplicationCmd {
@CommandLine.Parameters(description = "Application ID")
private String applicationId;

@CommandLine.Option(
names = {"-p", "--port"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about "--ui-port" ? "--port" is too generic

Copy link
Member Author

@nicoloboschi nicoloboschi Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this command is literally

apps ui <appid>

I don't think it's confusing

In fact, in the docker run one, I used --ui-port

Copy link
Member

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eolivelli eolivelli merged commit 1cd22a4 into main Oct 25, 2023
10 checks passed
@eolivelli eolivelli deleted the ui-cli-fixed-port branch October 25, 2023 14:38
@eolivelli eolivelli added this to the 0.4.0 milestone Oct 25, 2023
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CLI UI: option for using a well known port
2 participants