Configuration details
Use this section to find the files and settings you can edit when additional manual configuration is needed.
Configuration map
Paths below are relative to the repository root.
| File | Responsibility |
|---|---|
.devcontainer/compose.yaml | The workspace service, build context, and generated credentials file. |
.devcontainer/Dockerfile | Debian base, OS packages, non-root vscode user, Treehouse, and Java + Gradle reference toolchain. |
.devcontainer/devcontainer.json | Dev Container Features, repository bind mount, workspace directory, persistent volumes, VS Code extension, forwarded port, and lifecycle commands. |
.devcontainer/devcontainer-lock.json | Resolved feature versions and integrity digests. |
.devcontainer/skills/setup-workspace/ | Post-creation setup skill and subagent verification instructions, installed for Codex during container creation. |
website/docusaurus.config.js | Documentation branding, routes, navigation, and theme. |
website/package.json and website/package-lock.json | Documentation scripts, dependency declarations, and resolved package versions. |
Docker Compose stack
The .devcontainer/compose.yaml file defines a single workspace service built from .devcontainer/Dockerfile. Compose assigns the workspace container's name automatically.
Workspace and services
The native mounts setting in .devcontainer/devcontainer.json bind-mounts ${localWorkspaceFolder} at /workspace/${localWorkspaceFolderBasename}, using the local repository folder name. The matching workspaceFolder opens VS Code there; terminals and lifecycle commands use this directory. Dev Container Features, VS Code settings, lifecycle commands, and named volumes remain configured in devcontainer.json.
The Docker image's default working directory is /workspace. Rebuild the devcontainer to apply a path change. VS Code connects to the workspace Compose service as vscode. The service runs sleep infinity to stay available. Closing the devcontainer's VS Code window stops the Compose stack through shutdownAction: stopCompose.
To expand the stack, add services alongside workspace in compose.yaml. Dev Containers starts all services by default. Services communicate using Compose service names, such as db or redis, as hostnames. No database or additional application service is configured in this template.
Persistent agent data
<folder> below is the local repository folder name.
| Named volume | Container path | Contents |
|---|---|---|
<folder>-codex | /home/vscode/.codex | Codex data and authentication |
<folder>-agent-skills | /home/vscode/.agents | Canonical agent-skill store |
<folder>-treehouse | /home/vscode/.treehouse | Treehouse worktree pool |
These named volumes survive devcontainer rebuilds. They are separate from the repository bind mount.
Persistent Docker-in-Docker data
The Docker-in-Docker Feature automatically adds these named volumes. ${devcontainerId} is the identifier generated by Dev Containers.
| Named volume | Container path | Contents |
|---|---|---|
dind-var-lib-docker-${devcontainerId} | /var/lib/docker | Docker daemon state, named volumes, and build cache |
dind-var-lib-containerd-${devcontainerId} | /var/lib/containerd | Container image content and snapshots |
These volumes preserve the inner Docker environment's data across rebuilds with the same devcontainer ID.
Devcontainer creation lifecycle
These steps describe how the development environment is initialized, built, and configured when you create or rebuild the devcontainer.
- Before creation: the inline
initializeCommandderives the repository prefix and writes Git identity and the GitHub token to.devcontainer/.env.workspaceon the host. The generated file is Git-ignored and excluded from the Docker build context. Mount paths use native Dev Container variable substitution without an initialization script or generated path settings. - During build: the Dockerfile installs its toolchain; Dev Container Features add Node.js and Docker-in-Docker.
- After creation:
postCreateCommandfixes ownership of the persistent directories, adds the workspace as a Git safe directory, installs the pinned Matt Pocock skills and the repository'ssetup-workspaceskill globally for Codex, and runsnpm --prefix website ci. The local setup skill is refreshed from the repository on rebuild; start its guided workflow from an agent session as described in Post-stack creation configuration.
Port 3000 is forwarded as Documentation. The docs server is started on demand.