mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
- Simplify Dockerfile: use golang:1.24 base, install Node via features - Add proper port forwarding for Pulse (7655 frontend, 7656 API) - Add Vue Volar extension for frontend development - Add start-pulse-dev.sh helper script for auto-starting dev server - Add FRONTEND_DEV_HOST to containerEnv for proper binding - Add .env.devcontainer to .gitignore (local override file) - Update frontend dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
902 B
JSON
45 lines
902 B
JSON
{
|
|
"name": "Pulse Development",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "."
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"golang.go",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"vue.volar"
|
|
],
|
|
"settings": {
|
|
"go.gopath": "/go",
|
|
"go.toolsManagement.autoUpdate": 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 && cd frontend-modern && npm install",
|
|
"remoteUser": "vscode"
|
|
}
|