update default port to 9250
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Enhancement: Runtime Hostname and Port are now configurable
|
||||
|
||||
Without any configuration the ocis runtime will start on `localhost:6060` unless specified otherwise. Usage:
|
||||
Without any configuration the ocis runtime will start on `localhost:9250` unless specified otherwise. Usage:
|
||||
|
||||
- `OCIS_RUNTIME_PORT=6061 bin/ocis server`
|
||||
- overrides the oCIS runtime and starts on port 6061
|
||||
|
||||
@@ -27,7 +27,7 @@ func KillCommand(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "port",
|
||||
Value: "6060",
|
||||
Value: "9250",
|
||||
EnvVars: []string{"OCIS_RUNTIME_PORT"},
|
||||
Destination: &cfg.Runtime.Port,
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ func ListCommand(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "port",
|
||||
Value: "6060",
|
||||
Value: "9250",
|
||||
EnvVars: []string{"OCIS_RUNTIME_PORT"},
|
||||
Destination: &cfg.Runtime.Port,
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@ func RunCommand(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "port",
|
||||
Value: "6060",
|
||||
Value: "9250",
|
||||
EnvVars: []string{"OCIS_RUNTIME_PORT"},
|
||||
Destination: &cfg.Runtime.Port,
|
||||
},
|
||||
|
||||
@@ -84,7 +84,7 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "runtime-port",
|
||||
Value: "6060",
|
||||
Value: "9250",
|
||||
Usage: "Configures which port the runtime starts",
|
||||
EnvVars: []string{"OCIS_RUNTIME_PORT"},
|
||||
Destination: &cfg.Runtime.Port,
|
||||
|
||||
Reference in New Issue
Block a user