{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Launch MongoDB", "type": "shell", "command": "docker-compose -f ${workspaceFolder}/docker/docker-compose.dev.yml up", "isBackground": true, "problemMatcher": [ { "pattern": [ { "regexp": ".", "file": 1, "location": 2, "message": 3 } ], "background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." } } ], "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": true }, "group": "build" }, { "label": "Stop MongoDB", "type": "shell", "command": "docker-compose -f ${workspaceFolder}/docker/docker-compose.dev.yml stop" }, { "label": "Reset MongoDB", "type": "shell", "command": "docker-compose -f ${workspaceFolder}/docker/docker-compose.dev.yml rm -sf", "problemMatcher": [] } ] }