Files

36 lines
1.3 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "docker-compose-up-debug",
"type": "shell",
// command to build and start the Docker Compose stack for debugging
"command": "docker compose -f docker-compose.yml -f docker-compose.debug-override.yml up --build --force-recreate -d --wait",
"options": {
// This tells VS Code to run the command in the parent directory of the VSCODE workspaceFolder
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "always",
"clear": true
},
"detail": "Builds and starts the Docker Compose stack for debugging."
},
{
"label": "docker-compose-down",
"type": "shell",
"command": "docker compose -f docker-compose.yml -f docker-compose.debug-override.yml down",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"clear": true
},
"detail": "Stops and removes all containers defined in the Docker Compose files."
}
]
}