Research-Stack/.devcontainer/devcontainer.json
Brandon Schneider ac4e23dc9b Expand devcontainer with full Python stack, add MCP servers (Notion/AWS), strengthen Lean theorems
- .devcontainer/Dockerfile: add PostgreSQL client libs, OpenSSL/libffi headers, gfortran/BLAS for scipy, rclone; install full Python dependency set (boto3, psycopg2-binary, fastapi, uvicorn, notion-client, httpx, pytest, numpy, scipy, etc.) in uv-managed venv; add rclone S3 gateway init script as ENTRYPOINT
- .devcontainer/devcontainer.json: switch from build to pre-built image (localhost/research
2026-05-19 01:52:14 -05:00

46 lines
1.5 KiB
JSON

{
"name": "Research Stack (OTOM) — NixOS/Podman",
"image": "localhost/research-stack-otom:latest",
"customizations": {
"vscode": {
"extensions": [
"leanprover.lean4",
"ms-python.python",
"charliermarsh.ruff",
"ms-toolsai.jupyter"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"python.defaultInterpreterPath": "/nix/store/python",
"python.analysis.extraPaths": [
"/home/researcher/stack"
],
"lean4.toolchainPath": "/home/researcher/.elan/bin"
}
}
},
"remoteUser": "researcher",
"containerEnv": {
"HOME": "/home/researcher",
"XDG_CACHE_HOME": "/home/researcher/.cache",
"AWS_ENDPOINT_URL": "http://host.containers.internal:3900",
"AWS_DEFAULT_REGION": "garage",
"GARAGE_ENDPOINT": "http://host.containers.internal:3900",
"GARAGE_REGION": "garage"
},
"_comment_garage_creds": "AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY: source /etc/garage/garage.env on host; bind-mount into container or set in .bashrc",
"forwardPorts": [3900],
"runArgs": [
"--userns=keep-id",
"--security-opt=label=disable",
"--group-add=keep-groups"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/home/researcher/stack,type=bind,Z",
"workspaceFolder": "/home/researcher/stack",
"mounts": [
"source=${localEnv:HOME}/.config/rclone/rclone.conf,target=/home/researcher/.config/rclone/rclone.conf,type=bind,readonly,Z"
],
"containerEngine": {
"podmanPath": "/usr/bin/podman"
}
}