@herdctl/web 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -42,8 +42,8 @@ fleet:
42
42
  name: my-fleet
43
43
  web:
44
44
  enabled: true
45
- port: 3100 # Default port
46
- host: "0.0.0.0" # Default host
45
+ port: 3232 # Default port
46
+ host: "localhost" # Default host
47
47
  ```
48
48
 
49
49
  Then start your fleet normally:
@@ -62,14 +62,14 @@ const fleet = new FleetManager({ configPath: "./herdctl.yaml" });
62
62
  await fleet.initialize();
63
63
 
64
64
  const web = new WebManager(fleet, {
65
- port: 3100,
66
- host: "0.0.0.0",
65
+ port: 3232,
66
+ host: "localhost",
67
67
  stateDir: ".herdctl",
68
68
  });
69
69
 
70
70
  await web.initialize();
71
71
  await web.start();
72
- // Dashboard available at http://localhost:3100
72
+ // Dashboard available at http://localhost:3232
73
73
  ```
74
74
 
75
75
  ## Features