From a721b30d9d97d586e661fe26dfad4ff158072e0d Mon Sep 17 00:00:00 2001 From: Evan Porter Date: Wed, 18 Feb 2026 00:44:15 +0000 Subject: [PATCH] Fix claude access isssues. --- .devcontainer/devcontainer.json | 5 +++-- README.md | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5531cebb..15556269 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "dockerComposeFile": "compose.yml", "service": "devcontainer", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", - "forwardPorts": [8000, 9001, 9000, 5432], + "forwardPorts": [8000, 9001, 9000, 5432, 41627], "features": { "ghcr.io/devcontainers/features/node:1": { "version": "22" @@ -22,6 +22,7 @@ }, "remoteUser": "vscode", "mounts": [ - "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached" + "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached", + "source=${localEnv:HOME}/.claude.json,target=/home/vscode/.claude.json,type=bind,consistency=cached" ] } \ No newline at end of file diff --git a/README.md b/README.md index 6a7bff3c..6d4bfdf7 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ uv run manage.py collectstatic ``` These commands will prepare the database and publish the static assets in the RustFS container. + +You'll need to auhorize `claude` from outside the devcontainer, as it can't authorize from inside the container reliably. Make sure both the `~/.claude` and `~/.claude.json` files are mounted to the home directory of the main devcontainer's user. In this case, that user is `vscode`. + ## Basic Commands ### Running locally in the Dev Container