Merge pull request #55 from rezero-household/docs/openclaw-memory-dir-env
docs: clarify OPENCLAW_MEMORY_DIR — memory browser shows only .sqlite without it
This commit is contained in:
commit
8510ee5f2c
|
|
@ -67,6 +67,12 @@ NEXT_PUBLIC_GATEWAY_URL=
|
|||
# === OpenClaw Paths (derived from OPENCLAW_HOME if not set) ===
|
||||
# OPENCLAW_LOG_DIR=/path/to/.openclaw/logs
|
||||
# OPENCLAW_MEMORY_DIR=/path/to/.openclaw/memory
|
||||
#
|
||||
# NOTE: OpenClaw does NOT store agent memory markdown files under OPENCLAW_HOME/memory/.
|
||||
# That directory does not exist by default. Agent memory lives in each agent's workspace
|
||||
# (e.g. ~/clawd-agents/{agent}/memory/). Point this at your agents root to make the
|
||||
# Memory Browser useful:
|
||||
# OPENCLAW_MEMORY_DIR=/home/you/clawd-agents
|
||||
# OPENCLAW_SOUL_TEMPLATES_DIR=/path/to/.openclaw/templates/souls
|
||||
# OPENCLAW_BIN=openclaw
|
||||
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -282,10 +282,20 @@ See [`.env.example`](.env.example) for the complete list. Key variables:
|
|||
| `OPENCLAW_HOME` | Yes* | Path to `.openclaw` directory |
|
||||
| `OPENCLAW_GATEWAY_HOST` | No | Gateway host (default: `127.0.0.1`) |
|
||||
| `OPENCLAW_GATEWAY_PORT` | No | Gateway WebSocket port (default: `18789`) |
|
||||
| `OPENCLAW_MEMORY_DIR` | No | Memory browser root (see note below) |
|
||||
| `MC_ALLOWED_HOSTS` | No | Host allowlist for production |
|
||||
|
||||
*Memory browser, log viewer, and gateway config require `OPENCLAW_HOME`.
|
||||
|
||||
> **Memory Browser note:** OpenClaw does not store agent memory markdown files under
|
||||
> `$OPENCLAW_HOME/memory/` — that directory does not exist by default. Agent memory lives
|
||||
> in each agent's workspace (e.g. `~/clawd-agents/{agent}/memory/`). Set
|
||||
> `OPENCLAW_MEMORY_DIR` to your agents root directory to make the Memory Browser show
|
||||
> daily logs, `MEMORY.md`, and other markdown files:
|
||||
> ```
|
||||
> OPENCLAW_MEMORY_DIR=/home/you/clawd-agents
|
||||
> ```
|
||||
|
||||
## Deployment
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue