Skip to content

[FEATURE] Add CLI port flags #53

@kamran-rapidfireAI

Description

@kamran-rapidfireAI

Note: This requested feature is implemented in PR #52

Feature Description

Add CLI flags to control service ports and warn when misused with non-start commands.
Added --port (-p) for RapidFireAI frontend (default 3000)
Added --mlflow-port for MLflow UI (default 5002)
Added --api-port for API server (default 8080)
Flags apply only to start and restart
Print a warning if flags are used with other commands (e.g., init, status)
Map flags to env vars: RF_FRONTEND_PORT, RF_MLFLOW_PORT, RF_API_PORT

Problem Statement

Currently users or client scripts cannot change service ports at runtime without editing scripts or environment variables.

Proposed Solution

The solution is to add command line options to allow the user to set ports, e.g.:

rapidfireai start --port 4000
rapidfireai start --mlflow-port 6000 --api-port 9090
rapidfireai restart -p 4000

Priority

How important is this feature to you?

  • Critical - blocking my workflow
  • High - would significantly improve my experience
  • Medium - nice to have
  • Low - minor improvement

Metadata

Metadata

Labels

P1Issue with Non Critical FeaturesenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions