45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Launch Backend",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker-compose.debug.yaml up -d && until nc -z 127.0.0.1 2346 >/dev/null 2>&1; do sleep 1; done && echo DAE_BACKEND_READY",
|
|
"isBackground": true,
|
|
"problemMatcher": [
|
|
{
|
|
"pattern": {
|
|
"regexp": "^.*$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".*",
|
|
"endsPattern": "DAE_BACKEND_READY"
|
|
}
|
|
}
|
|
],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Follow Backend Logs",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker-compose.debug.yaml logs -f",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Stop Backend",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker-compose.debug.yaml down",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
]
|
|
} |