mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "Pulse Development",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "."
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node@sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6": {
|
|
"version": "24"
|
|
}
|
|
},
|
|
"mounts": [
|
|
"source=pulse-go-build-cache,target=/go/pkg,type=volume",
|
|
"source=pulse-npm-cache,target=/home/vscode/.npm,type=volume"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"golang.go",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"vue.volar"
|
|
],
|
|
"settings": {
|
|
"go.gopath": "/go",
|
|
"go.toolsManagement.autoUpdate": true,
|
|
"go.useLanguageServer": true,
|
|
"go.testExplorer.enable": true
|
|
}
|
|
}
|
|
},
|
|
"forwardPorts": [7655, 7656],
|
|
"portsAttributes": {
|
|
"7655": {
|
|
"label": "Pulse Frontend",
|
|
"onAutoForward": "openBrowser"
|
|
},
|
|
"7656": {
|
|
"label": "Pulse Backend API",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"PULSE_DEV_API_HOST": "localhost",
|
|
"FRONTEND_DEV_HOST": "0.0.0.0",
|
|
"LAN_IP": "localhost"
|
|
},
|
|
"updateContentCommand": "sudo chown -R vscode:vscode /workspaces/pulse /go /home/vscode/.npm && cd frontend-modern && npm install",
|
|
"postCreateCommand": "echo source /workspaces/pulse/.devcontainer/.bashrc >> ~/.bashrc",
|
|
"remoteUser": "vscode"
|
|
}
|