Skip to content

fix(onboard): keep Docker Compose onboarding on volume-backed defaults | 修复(onboard): 保持 Docker Compose 初始化使用卷挂载默认路径#749

Merged
DonPrus merged 4 commits intonullclaw:mainfrom
manelsen:fix/docker-compose-onboard-workspace
Apr 10, 2026
Merged

Conversation

@manelsen
Copy link
Copy Markdown
Contributor

Closes #747.

Summary

EN:

  • Fixed onboarding fresh-config fallback so it respects NULLCLAW_HOME and NULLCLAW_WORKSPACE.
  • Prevented Docker Compose onboarding from drifting to HOME/.nullclaw/workspace when the config file is not yet present.
  • Added a regression test covering the container env-var fallback used by the official image.
  • Updated Docker / Docker Compose installation docs in both English and Chinese to call out the default workspace path.

ZH:

  • 修复了 onboarding 在 fresh-config 回退路径中忽略 NULLCLAW_HOMENULLCLAW_WORKSPACE 的问题。
  • 避免 Docker Compose 初始化在首次运行且配置文件不存在时错误回退到 HOME/.nullclaw/workspace
  • 新增回归测试,覆盖官方镜像使用的环境变量路径回退逻辑。
  • 同步更新中英文 Docker / Docker Compose 安装文档,明确默认 workspace 路径。

Validation

  • zig build test --summary all: 6128 passed, 11 skipped, 0 failures.
  • zig build -Doptimize=ReleaseSmall: success.
  • Manual verification: not run in this environment; the Docker onboarding fallback path is covered by the new regression test.

Notes

  • Keeps onboarding path resolution consistent with Config.load() and the official container env defaults.

@DonPrus DonPrus merged commit 1937bf0 into nullclaw:main Apr 10, 2026
3 checks passed
@manelsen manelsen deleted the fix/docker-compose-onboard-workspace branch April 10, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using docker compose onboarding doesn't work

2 participants