From 219a11d2bdf7d4110feee2ee751c3b478a82de79 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 23 Apr 2026 13:08:07 -0700 Subject: [PATCH] docs: fix googlechat entity and dedup gateway multiple-gateways section --- docs/channels/googlechat.md | 2 +- docs/gateway/index.md | 37 +++++++++++++++---------------------- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/channels/googlechat.md b/docs/channels/googlechat.md index e1c126c2572..8ea351bf553 100644 --- a/docs/channels/googlechat.md +++ b/docs/channels/googlechat.md @@ -35,7 +35,7 @@ Status: ready for DMs + spaces via Google Chat API webhooks (HTTP only). - Under **Connection settings**, select **HTTP endpoint URL**. - Under **Triggers**, select **Use a common HTTP endpoint URL for all triggers** and set it to your gateway's public URL followed by `/googlechat`. - _Tip: Run `openclaw status` to find your gateway's public URL._ - - Under **Visibility**, check **Make this Chat app available to specific people and groups in <Your Domain>**. + - Under **Visibility**, check **Make this Chat app available to specific people and groups in ``**. - Enter your email address (e.g. `user@example.com`) in the text box. - Click **Save** at the bottom. 6. **Enable the app status**: diff --git a/docs/gateway/index.md b/docs/gateway/index.md index 1f6ebda4ca2..41749036f02 100644 --- a/docs/gateway/index.md +++ b/docs/gateway/index.md @@ -162,6 +162,20 @@ What to expect: answers. - If that is intentional, isolate ports, config/state, and workspace roots per gateway. +Checklist per instance: + +- Unique `gateway.port` +- Unique `OPENCLAW_CONFIG_PATH` +- Unique `OPENCLAW_STATE_DIR` +- Unique `agents.defaults.workspace` + +Example: + +```bash +OPENCLAW_CONFIG_PATH=~/.openclaw/a.json OPENCLAW_STATE_DIR=~/.openclaw-a openclaw gateway --port 19001 +OPENCLAW_CONFIG_PATH=~/.openclaw/b.json OPENCLAW_STATE_DIR=~/.openclaw-b openclaw gateway --port 19002 +``` + Detailed setup: [/gateway/multiple-gateways](/gateway/multiple-gateways). ## Remote access @@ -270,28 +284,7 @@ Use the same service body as the user unit, but install it under -## Multiple gateways on one host - -Most setups should run **one** Gateway. -Use multiple only for strict isolation/redundancy (for example a rescue profile). - -Checklist per instance: - -- Unique `gateway.port` -- Unique `OPENCLAW_CONFIG_PATH` -- Unique `OPENCLAW_STATE_DIR` -- Unique `agents.defaults.workspace` - -Example: - -```bash -OPENCLAW_CONFIG_PATH=~/.openclaw/a.json OPENCLAW_STATE_DIR=~/.openclaw-a openclaw gateway --port 19001 -OPENCLAW_CONFIG_PATH=~/.openclaw/b.json OPENCLAW_STATE_DIR=~/.openclaw-b openclaw gateway --port 19002 -``` - -See: [Multiple gateways](/gateway/multiple-gateways). - -### Dev profile quick path +## Dev profile quick path ```bash openclaw --dev setup