mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
docs(install/docker): document compose config dir default fallback
For 054b2e1b7e: docs/install/docker.md "Storage and persistence" now
records that the bundled docker-compose.yml falls back to
${HOME}/.openclaw (and ${HOME}/.openclaw/workspace for the workspace
mount), or /tmp/.openclaw when HOME is also unset, when
OPENCLAW_CONFIG_DIR / OPENCLAW_WORKSPACE_DIR are not provided. That
matches the new default expressions in the compose file and prevents an
empty-source volume spec on bare environments.
This commit is contained in:
@@ -261,7 +261,11 @@ For gotchas and troubleshooting, see [Bonjour discovery](/gateway/bonjour).
|
||||
|
||||
Docker Compose bind-mounts `OPENCLAW_CONFIG_DIR` to `/home/node/.openclaw` and
|
||||
`OPENCLAW_WORKSPACE_DIR` to `/home/node/.openclaw/workspace`, so those paths
|
||||
survive container replacement.
|
||||
survive container replacement. When either variable is unset, the bundled
|
||||
`docker-compose.yml` falls back to `${HOME}/.openclaw` (and
|
||||
`${HOME}/.openclaw/workspace` for the workspace mount), or `/tmp/.openclaw`
|
||||
when `HOME` itself is also missing. That keeps `docker compose up` from
|
||||
emitting an empty-source volume spec on bare environments.
|
||||
|
||||
That mounted config directory is where OpenClaw keeps:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user