From b96e7739a993ed42085d0d290ff1139ffac33f86 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Tue, 28 Apr 2026 17:38:25 -0700 Subject: [PATCH] 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. --- docs/install/docker.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/install/docker.md b/docs/install/docker.md index a65abe58872..d7856be3c8e 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -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: