docs: clarify multi-gateway rescue bot guidance
This commit is contained in:
committed by
Peter Steinberger
parent
daf471c450
commit
7f6a288bd3
@@ -282,7 +282,7 @@ export async function maybeScanExtraGatewayServices(options: DoctorOptions) {
|
||||
[
|
||||
"Recommendation: run a single gateway per machine for most setups.",
|
||||
"One gateway supports multiple agents.",
|
||||
"If you need multiple gateways (e.g., a recovery bot on the same host), isolate ports + config/state (see docs: /gateway#multiple-gateways-same-host).",
|
||||
"If you need multiple gateways (e.g., a rescue bot on the same host), isolate ports + config/state (see docs: /gateway#multiple-gateways-same-host).",
|
||||
].join("\n"),
|
||||
"Gateway recommendation",
|
||||
);
|
||||
|
||||
@@ -183,7 +183,7 @@ export async function gatewayStatusCommand(
|
||||
warnings.push({
|
||||
code: "multiple_gateways",
|
||||
message:
|
||||
"Unconventional setup: multiple reachable gateways detected. Usually one gateway per network is recommended unless you intentionally run isolated profiles, like a recovery bot (see docs: /gateway#multiple-gateways-same-host).",
|
||||
"Unconventional setup: multiple reachable gateways detected. Usually one gateway per network is recommended unless you intentionally run isolated profiles, like a rescue bot (see docs: /gateway#multiple-gateways-same-host).",
|
||||
targetIds: reachable.map((p) => p.target.id),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user