Add model mapping

This commit is contained in:
Jamie Brunton committed 2023-02-13 21:14:16 +00:00
1 parent 9f1905f5e0
commit 1186ebf755
29 files changed
+997 -831

No files matched your search

+110
View File
@@ -0,0 +1,110 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
],
"problemMatcher": "$msCompile"
},
{
"type": "docker-build",
"label": "docker-build: debug",
"dependsOn": [
"build"
],
"dockerBuild": {
"tag": "convertarr:dev",
"target": "base",
"dockerfile": "${workspaceFolder}/src/Convertarr.Web/Dockerfile",
"context": "${workspaceFolder}",
"pull": true
},
"netCore": {
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
}
},
{
"type": "docker-build",
"label": "docker-build: release",
"dependsOn": [
"build"
],
"dockerBuild": {
"tag": "convertarr:latest",
"dockerfile": "${workspaceFolder}/src/Convertarr.Web/Dockerfile",
"context": "${workspaceFolder}",
"pull": true
},
"netCore": {
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
}
},
{
"type": "docker-run",
"label": "docker-run: debug",
"dependsOn": [
"docker-build: debug"
],
"dockerRun": {
"volumes": [
{
"containerPath": "/media",
"localPath": "/Users/jamiebrunton/Movies",
"permissions": "rw"
},
{
"containerPath": "/config",
"localPath": "/Users/jamiebrunton/Documents/Projects/ConvertarrConfig",
"permissions": "rw"
}
]
},
"netCore": {
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
"enableDebugging": true
}
},
{
"type": "docker-run",
"label": "docker-run: release",
"dependsOn": [
"docker-build: release"
],
"dockerRun": {},
"netCore": {
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
}
}
]
}