mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
- Add persistent volume mounts for Go/npm caches (faster rebuilds) - Add shell config with helpful aliases and custom prompt - Add comprehensive devcontainer documentation - Add pre-commit hooks for Go formatting and linting - Use go-version-file in CI workflows instead of hardcoded versions - Simplify docker compose commands with --wait flag - Add gitignore entries for devcontainer auth files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "Pulse Development",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "."
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
}
|
|
},
|
|
"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"
|
|
}
|