mirror of
https://github.com/apache/superset.git
synced 2026-05-06 16:34:32 +00:00
- Split devcontainer config into base + profile structure - default: Standard Superset development (port 9001) - with-mcp: Superset + MCP service (ports 9001, 5008) - Add MCP service to docker-compose-light.yml as optional profile - Update start-superset.sh to conditionally start MCP when ENABLE_MCP=true - Add MCP case to docker-bootstrap.sh for starting MCP service - Preserve original devcontainer.json as .old for migration reference This allows developers to choose their development environment: - Use default profile for standard Superset development - Use with-mcp profile for MCP/LLM agent development - MCP service runs on port 5008 when enabled via profile 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "Apache Superset Development",
|
|
// Keep this in sync with the base image in Dockerfile (ARG PY_VER)
|
|
// Using the same base as Dockerfile, but non-slim for dev tools
|
|
"image": "python:3.11.13-bookworm",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"moby": true,
|
|
"dockerDashComposeVersion": "v2"
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
},
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
"configureZshAsDefaultShell": true
|
|
},
|
|
"ghcr.io/devcontainers/features/sshd:1": {
|
|
"version": "latest"
|
|
}
|
|
},
|
|
|
|
// Run commands after container is created
|
|
"postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && .devcontainer/setup-dev.sh",
|
|
|
|
// VS Code customizations
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"charliermarsh.ruff",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode"
|
|
]
|
|
}
|
|
}
|
|
}
|