From 1c981ead2ae633e8a28e30c056b327de19c1fb13 Mon Sep 17 00:00:00 2001 From: Jason <101583541+JasonOA888@users.noreply.github.com> Date: Mon, 23 Mar 2026 07:44:59 +0800 Subject: [PATCH] fix: add ~/.codex and ~/.claude bind mounts to docker-compose-dev.yaml (#1247) The dev compose file was missing CLI auth directory mounts that exist in the production compose file. This caused CodexChatModel to fail with 'Codex CLI credential not found' error in dev mode. Fixes #1246 --- docker/docker-compose-dev.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docker/docker-compose-dev.yaml b/docker/docker-compose-dev.yaml index fb91dd1..93a46f3 100644 --- a/docker/docker-compose-dev.yaml +++ b/docker/docker-compose-dev.yaml @@ -124,6 +124,19 @@ services: - ~/.cache/uv:/root/.cache/uv # DooD: same as gateway — AioSandboxProvider runs inside LangGraph process. - /var/run/docker.sock:/var/run/docker.sock + # CLI auth directories for auto-auth (Claude Code + Codex CLI) + - type: bind + source: ${HOME:?HOME must be set}/.claude + target: /root/.claude + read_only: true + bind: + create_host_path: true + - type: bind + source: ${HOME:?HOME must be set}/.codex + target: /root/.codex + read_only: true + bind: + create_host_path: true working_dir: /app environment: - CI=true @@ -160,6 +173,19 @@ services: - ~/.cache/uv:/root/.cache/uv # DooD: same as gateway — AioSandboxProvider runs inside LangGraph process. - /var/run/docker.sock:/var/run/docker.sock + # CLI auth directories for auto-auth (Claude Code + Codex CLI) + - type: bind + source: ${HOME:?HOME must be set}/.claude + target: /root/.claude + read_only: true + bind: + create_host_path: true + - type: bind + source: ${HOME:?HOME must be set}/.codex + target: /root/.codex + read_only: true + bind: + create_host_path: true working_dir: /app environment: - CI=true