MQL5-Google-Onedrive/.devcontainer/devcontainer.json
google-labs-jules[bot] ea261ed334 Merge feature branch, cleanup dependencies, and sanitize credentials
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-28 10:24:13 +00:00

60 lines
1.6 KiB
JSON

{
"name": "MQL5 Trading Automation Dev Container",
"build": {
"dockerfile": "../Dockerfile.dev",
"context": ".."
},
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.11"
},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"ms-azuretools.vscode-docker",
"GitHub.copilot",
"eamodio.gitlens",
"ms-vscode.powershell"
],
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"files.eol": "\n"
}
}
},
"forwardPorts": [8080, 5000, 3000],
"portsAttributes": {
"8080": {
"label": "Main App",
"onAutoForward": "notify"
},
"5000": {
"label": "API Server",
"onAutoForward": "ignore"
},
"3000": {
"label": "Dashboard",
"onAutoForward": "ignore"
}
},
"postCreateCommand": "pip install -r requirements.txt && pip install -r scripts/requirements_bot.txt",
"remoteUser": "root",
"mounts": [
"source=${localWorkspaceFolder}/config,target=/app/config,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/logs,target=/app/logs,type=bind,consistency=cached"
],
"remoteEnv": {
"PYTHONPATH": "/app",
"PYTHONUNBUFFERED": "1"
}
}