docs: drop one host's service names from port guidance
Five files named a specific host's service and the port it holds as the reason a deployment might move the state store's listen address, including config.example.toml, which ships to every operator. The guidance keeps its point -- move the listen/target pair together when a port is already taken on the host -- without naming a service the reader may not run, or have heard of. Also corrects the Taskfile's dev-stack summary, which still described the state store as binding 127.0.0.1:9090. deployments/dev.toml pairs it with 9091, and has since the pair became configurable, so the comment described a stack that does not start.
This commit is contained in:
1 parent
2b3e2f756f
commit
55ea071092
6 files changed
+13
-13
No files matched your search
+4
-4
@@ -274,7 +274,7 @@ tasks:
|
||||
* air rebuilds and restarts archied on Go changes
|
||||
* archie-gateway serves ChatContract on 127.0.0.1:8585 (archied
|
||||
and archie-ui dial it; neither embeds a gateway)
|
||||
* archie-state-store owns archie.db on 127.0.0.1:9090, loopback,
|
||||
* archie-state-store owns archie.db on 127.0.0.1:9091, loopback,
|
||||
no token (deployments/dev.toml); archied,
|
||||
archie-gateway and archie-ui dial it -- none owns
|
||||
the DB in-process
|
||||
@@ -288,8 +288,8 @@ tasks:
|
||||
on :8484
|
||||
|
||||
The gRPC ports come from [services.state].listen and [services.gateway].listen in
|
||||
deployments/dev.toml, each paired with the target that dials it. Move them there
|
||||
when the host already owns one: cockpit binds 9090 by default.
|
||||
deployments/dev.toml, each paired with the target that dials it. Move a pair there
|
||||
together when a port is already taken on the host.
|
||||
|
||||
Open http://localhost:5173 -- not :8484. The Vite server is the one with
|
||||
hot reload; :8484 serves the last built dist/ and will look stale.
|
||||
@@ -318,7 +318,7 @@ tasks:
|
||||
# requires (openStateStoreAdapter fails closed on an empty target).
|
||||
# Without it `task dev` leaves the gateway dialling whatever the
|
||||
# developer's installed config names, or unable to start at all, while
|
||||
# archied, archie-ui and the state store all dial 127.0.0.1:9090.
|
||||
# archied, archie-ui and the state store all dial 127.0.0.1:9091.
|
||||
cmds:
|
||||
- go run ./cmd/archie-gateway -config-overlay deployments/dev.toml
|
||||
|
||||
|
||||
Reference in new issue
Block a user