headroom/.devcontainer/memory-stack/devcontainer.json
JerrettDavis a1beb08d53 feat: add reproducible devcontainers
Add a default devcontainer and a compose-backed memory-stack profile, validate them in CI, and document the contributor workflow.

Also lock the memory-stack dependencies, pin related container tooling, and sync the latest healthcheck shutdown fix for stubbed memory handlers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-10 12:58:35 -05:00

79 lines
1.9 KiB
JSON

{
"name": "Headroom (memory stack)",
"dockerComposeFile": [
"../docker-compose.memory.yml"
],
"service": "workspace",
"runServices": [
"qdrant",
"neo4j"
],
"workspaceFolder": "/workspaces/headroom",
"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": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"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"
}
}
}
}
}