mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
Make the devcontainer bootstrap and CI smoke tests work from linked worktrees, including git metadata translation, cache ownership fixes, workspace path handling, and config-scoped smoke checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
79 lines
2 KiB
JSON
79 lines
2 KiB
JSON
{
|
|
"name": "Headroom (memory stack)",
|
|
"dockerComposeFile": [
|
|
"../docker-compose.memory.yml"
|
|
],
|
|
"service": "workspace",
|
|
"runServices": [
|
|
"qdrant",
|
|
"neo4j"
|
|
],
|
|
"workspaceFolder": "/workspaces",
|
|
"remoteUser": "vscode",
|
|
"updateRemoteUserUID": true,
|
|
"shutdownAction": "stopCompose",
|
|
"overrideCommand": false,
|
|
"init": true,
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
"forwardPorts": [
|
|
8787,
|
|
6333,
|
|
6334,
|
|
7474,
|
|
7687
|
|
],
|
|
"portsAttributes": {
|
|
"8787": {
|
|
"label": "Headroom proxy",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"6333": {
|
|
"label": "Qdrant REST",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"6334": {
|
|
"label": "Qdrant gRPC",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"7474": {
|
|
"label": "Neo4j Browser",
|
|
"onAutoForward": "openBrowser"
|
|
},
|
|
"7687": {
|
|
"label": "Neo4j Bolt",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
"postCreateCommand": "bash .devcontainer/post-create.sh memory-stack",
|
|
"postStartCommand": "bash -lc 'git rev-parse --git-dir >/dev/null 2>&1 && git config --global --add safe.directory \"${containerWorkspaceFolder}\" || true'",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"charliermarsh.ruff",
|
|
"ms-azuretools.vscode-docker",
|
|
"GitHub.vscode-github-actions"
|
|
],
|
|
"settings": {
|
|
"editor.formatOnSave": true,
|
|
"files.eol": "\n",
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.defaultInterpreterPath": "/home/vscode/.venvs/headroom-memory/bin/python",
|
|
"python.terminal.activateEnvironment": false,
|
|
"python.testing.pytestArgs": [
|
|
"tests"
|
|
],
|
|
"python.testing.pytestEnabled": true,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|