added vscode tasks & launch
This commit is contained in:
30
.vscode/tasks.json
vendored
Normal file
30
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// Sass configuration
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "start-mongo",
|
||||
"type": "docker-compose",
|
||||
"dockerCompose": {
|
||||
"up": {
|
||||
"detached": true,
|
||||
"build": true,
|
||||
},
|
||||
"files": [
|
||||
"${workspaceFolder}/docker-compose.yml"
|
||||
],
|
||||
"isBackground": true,
|
||||
"problemMatcher": "Terminal will be reused by tasks, press any key to close it"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "terminate-mongo",
|
||||
"type": "docker-compose",
|
||||
"dockerCompose": {
|
||||
"down": {}
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user