Today docker-setup.sh only mounts ~/.clawdbot and ~/clawd. For dev use, it’s common to want extra host directories (e.g. ~/.codex, ~/github) mounted into the container, and sometimes to persist the entire container home across recreations. There isn’t a built-in option for either without editing compose files.
Proposal:
- Add CLAWDBOT_EXTRA_MOUNTS to inject extra bind mounts into both gateway + CLI containers.
- Add CLAWDBOT_HOME_VOLUME to mount a named Docker volume at /home/node so container home persists, while keeping the standard .clawdbot and clawd host mounts.
- Document these options in the Docker install guide.
Rationale: keep the default flow simple but give power users a clean, supported way to persist home and mount more host directories without manual compose editing.
Today docker-setup.sh only mounts ~/.clawdbot and ~/clawd. For dev use, it’s common to want extra host directories (e.g. ~/.codex, ~/github) mounted into the container, and sometimes to persist the entire container home across recreations. There isn’t a built-in option for either without editing compose files.
Proposal:
Rationale: keep the default flow simple but give power users a clean, supported way to persist home and mount more host directories without manual compose editing.