diff --git a/cmd/ftl/cmd_serve.go b/cmd/ftl/cmd_serve.go index 3f36076d7a..56ee421a30 100644 --- a/cmd/ftl/cmd_serve.go +++ b/cmd/ftl/cmd_serve.go @@ -34,8 +34,7 @@ import ( ) type serveCmd struct { - Bind *url.URL `help:"Starting endpoint to bind to and advertise to. Each controller and runner will increment the port by 1" default:"http://localhost:8892"` - IngressBind *url.URL `help:"Starting endpoint to bind to for http ingress" default:"http://localhost:8891"` + Bind *url.URL `help:"Starting endpoint to bind to and advertise to. Each controller, ingress and runner will increment the port by 1" default:"http://localhost:8891"` DBPort int `help:"Port to use for the database." default:"15432"` Recreate bool `help:"Recreate the database even if it already exists." default:"false"` Controllers int `short:"c" help:"Number of controllers to start." default:"1"` @@ -105,7 +104,7 @@ func (s *serveCmd) Run(ctx context.Context, projConfig projectconfig.Config) err wg, ctx := errgroup.WithContext(ctx) - bindAllocator, err := bind.NewBindAllocator(s.IngressBind) + bindAllocator, err := bind.NewBindAllocator(s.Bind) if err != nil { return err }