Skip to content

Commit

Permalink
Remove debug docker configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gesugao-san committed Feb 13, 2024
1 parent 55bf157 commit b4c4ca6
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 594 deletions.
16 changes: 7 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"configurations": [
{
"name": "Docker Node.js Launch",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node"
}
]
"configurations": [{
"name": "Docker Node.js Launch",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node"
}]
}
64 changes: 22 additions & 42 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,30 @@
"version": "2.0.0",
"tasks": [
{
"label": "Vite: build",
"detail": "Build for production.",
"type": "npm",
"script": "build",
"group": "build",
"label": "Vite: build",
"detail": "Build for production."
},
{
"type": "npm",
"script": "preview",
"problemMatcher": []
}, {
"label": "Vite: preview",
"detail": "Locally preview production build."
},
{
"detail": "Locally preview production build.",
"type": "npm",
"script": "dev",
"script": "preview",
"problemMatcher": []
}, {
"label": "Vite: dev",
"detail": "Start dev server, aliases: `vite dev`, `vite serve`.",
"problemMatcher": []
},
{
"type": "npm",
"script": "install",
"label": "NPM install",
"detail": "Install dependencies from package."
"script": "dev",
"problemMatcher": []
},

{
"label": "Docker: Compile Build",
"detail": "Create Docker Build.",
"type": "docker-build",
"label": "Docker: Build Only",
"platform": "node",
"dockerBuild": {
"tag": "Gesugao-san/proxima.fun",
Expand All @@ -38,29 +34,12 @@
"pull": true,
}
},

{
"label": "Docker: Compile Container (production)",
"detail": "Create Docker Container. Requires Docker Build!",
"type": "docker-run",
"label": "Docker: Build Container (release)",
"dependsOn": [
"docker-build"
],
"dockerRun": {
"image": "Gesugao-san/proxima.fun",
"containerName": "proxima.fun",
"ports": [{
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
}]
},
"platform": "node"
},
{
"type": "docker-run",
"label": "Docker: Build Container (debug)",
"dependsOn": [
"docker-build"
],
"dependsOn": ["docker-build"],
"dockerRun": {
"image": "Gesugao-san/proxima.fun",
"containerName": "proxima.fun",
Expand All @@ -70,13 +49,14 @@
"protocol": "tcp",
}],
"env": {
"DEBUG": "*",
"NODE_ENV": "development"
//"DEBUG": "*",
"NODE_ENV": "production"
}
},
"node": {
"enableDebugging": true
}
"enableDebugging": false,
},
"platform": "node"
}
]
}
59 changes: 0 additions & 59 deletions docker-compose.debug.yml

This file was deleted.

Loading

0 comments on commit b4c4ca6

Please sign in to comment.