docs: document gateway port configuration

This commit is contained in:
Peter Steinberger
2026-01-03 11:46:58 +01:00
parent 87d5fa516d
commit 7199813969
7 changed files with 54 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ This repo supports “remote over SSH” by keeping a single Gateway (the master
## The core idea
- The Gateway WebSocket binds to **loopback**: `ws://127.0.0.1:18789`.
- The Gateway WebSocket binds to **loopback** on your configured port (defaults to 18789).
- For remote use, you forward that loopback port over SSH (or use a tailnet/VPN and tunnel less).
## SSH tunnel (CLI + tools)
@@ -27,6 +27,8 @@ With the tunnel up:
- `clawdis health` and `clawdis status --deep` now reach the remote gateway via `ws://127.0.0.1:18789`.
- `clawdis gateway {status,health,send,agent,call}` can also target the forwarded URL via `--url` when needed.
Note: replace `18789` with your configured `gateway.port` (or `--port`/`CLAWDIS_GATEWAY_PORT`).
## CLI remote defaults
You can persist a remote target so CLI commands use it by default: