mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
change devcontainer config to not override, and refactor
This commit is contained in:
parent
fc33adbd13
commit
60d54f0e50
2 changed files with 53 additions and 15 deletions
|
|
@ -1,32 +1,38 @@
|
||||||
{
|
{
|
||||||
"name": "Frappe Bench",
|
"name": "Frappe Development Stack",
|
||||||
|
"dockerComposeFile": "./docker-compose.yml",
|
||||||
|
"service": "frappe",
|
||||||
|
"workspaceFolder": "/workspace/development/frappe-bench",
|
||||||
|
|
||||||
|
// Use existing running container
|
||||||
|
"overrideCommand": false,
|
||||||
|
"shutdownAction": "none",
|
||||||
|
|
||||||
"forwardPorts": [8000, 9000, 6787],
|
"forwardPorts": [8000, 9000, 6787],
|
||||||
"remoteUser": "frappe",
|
"remoteUser": "frappe",
|
||||||
|
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
|
||||||
|
"settings": {
|
||||||
|
"terminal.integrated.profiles.linux": {"frappe bash": {"path": "/bin/bash"}},
|
||||||
|
"python.defaultInterpreterPath": "/workspace/development/frappe-bench/env/bin/python",
|
||||||
|
"terminal.integrated.defaultProfile.linux": "frappe bash",
|
||||||
|
"debug.node.autoAttach": "disabled"
|
||||||
|
},
|
||||||
|
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-vscode.live-server",
|
"ms-vscode.live-server",
|
||||||
"grapecity.gc-excelviewer",
|
"grapecity.gc-excelviewer",
|
||||||
"mtxr.sqltools",
|
"mtxr.sqltools",
|
||||||
"visualstudioexptteam.vscodeintellicode"
|
"visualstudioexptteam.vscodeintellicode"
|
||||||
],
|
]
|
||||||
"settings": {
|
|
||||||
"terminal.integrated.profiles.linux": {
|
|
||||||
"frappe bash": {
|
|
||||||
"path": "/bin/bash"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"terminal.integrated.defaultProfile.linux": "frappe bash",
|
|
||||||
"debug.node.autoAttach": "disabled"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dockerComposeFile": "./docker-compose.yml",
|
|
||||||
"service": "frappe",
|
|
||||||
"workspaceFolder": "/workspace/development",
|
|
||||||
"shutdownAction": "stopCompose",
|
|
||||||
"mounts": [
|
"mounts": [
|
||||||
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/frappe/.ssh,type=bind,consistency=cached"
|
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/frappe/.ssh,type=bind,consistency=cached"
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
32
devcontainer-example/devcontainer.json.old
Normal file
32
devcontainer-example/devcontainer.json.old
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"name": "Frappe Bench",
|
||||||
|
"forwardPorts": [8000, 9000, 6787],
|
||||||
|
"remoteUser": "frappe",
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"ms-python.python",
|
||||||
|
"ms-vscode.live-server",
|
||||||
|
"grapecity.gc-excelviewer",
|
||||||
|
"mtxr.sqltools",
|
||||||
|
"visualstudioexptteam.vscodeintellicode"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"terminal.integrated.profiles.linux": {
|
||||||
|
"frappe bash": {
|
||||||
|
"path": "/bin/bash"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"terminal.integrated.defaultProfile.linux": "frappe bash",
|
||||||
|
"debug.node.autoAttach": "disabled"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dockerComposeFile": "./docker-compose.yml",
|
||||||
|
"service": "frappe",
|
||||||
|
"workspaceFolder": "/workspace/development",
|
||||||
|
"shutdownAction": "stopCompose",
|
||||||
|
"mounts": [
|
||||||
|
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/frappe/.ssh,type=bind,consistency=cached"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue