Files
superset2/.devcontainer/devcontainer.json
Maxime Beauchemin 8bf2e4ea3a fix: Simplify devcontainer to avoid docker-compose conflicts
- Remove all features (universal image has everything)
- Simplified config to just image + scripts
- No dockerComposeFile reference
- Plain container that runs docker-compose internally
2025-07-29 11:19:56 -07:00

37 lines
894 B
JSON

{
"name": "Apache Superset Development",
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
// Forward ports for development
"forwardPorts": [9001, 8088],
"portsAttributes": {
"9001": {
"label": "Superset Frontend",
"onAutoForward": "notify"
},
"8088": {
"label": "Superset Backend API",
"onAutoForward": "silent"
}
},
// Run commands after container is created
"postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && .devcontainer/setup-dev.sh",
// Auto-start Superset on Codespace resume
"postStartCommand": ".devcontainer/start-superset.sh",
// VS Code customizations
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
}
}