docs(install/docker): document compose config dir default fallback · openclaw/openclaw@b96e773
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -261,7 +261,11 @@ For gotchas and troubleshooting, see [Bonjour discovery](/gateway/bonjour).
|
261 | 261 | |
262 | 262 | Docker Compose bind-mounts `OPENCLAW_CONFIG_DIR` to `/home/node/.openclaw` and |
263 | 263 | `OPENCLAW_WORKSPACE_DIR` to `/home/node/.openclaw/workspace`, so those paths |
264 | | -survive container replacement. |
| 264 | +survive container replacement. When either variable is unset, the bundled |
| 265 | +`docker-compose.yml` falls back to `${HOME}/.openclaw` (and |
| 266 | +`${HOME}/.openclaw/workspace` for the workspace mount), or `/tmp/.openclaw` |
| 267 | +when `HOME` itself is also missing. That keeps `docker compose up` from |
| 268 | +emitting an empty-source volume spec on bare environments. |
265 | 269 | |
266 | 270 | That mounted config directory is where OpenClaw keeps: |
267 | 271 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。