51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "Plant-Man",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:2.0.0": {
|
|
"version": "lts"
|
|
}
|
|
},
|
|
"remoteUser": "vscode",
|
|
"mounts": [
|
|
"type=bind,source=${localEnv:HOME}/.codex,target=/home/vscode/.codex"
|
|
],
|
|
"forwardPorts": [5173, 7186, 5074],
|
|
"portsAttributes": {
|
|
"5173": {
|
|
"label": "Vite frontend",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"7186": {
|
|
"label": ".NET API HTTPS",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"5074": {
|
|
"label": ".NET API HTTP",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
"postCreateCommand": "dotnet restore plant-manager.sln && dotnet tool restore && cd plant-manager-web && npm install",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"editor.formatOnSave": true,
|
|
"files.eol": "\n"
|
|
},
|
|
"extensions": [
|
|
"openai.chatgpt",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"ms-dotnettools.csdevkit",
|
|
"ms-dotnettools.csharp",
|
|
"ms-azuretools.vscode-docker",
|
|
"mtxr.sqltools",
|
|
"mtxr.sqltools-driver-sqlite"
|
|
]
|
|
}
|
|
}
|
|
}
|