dev_gitea/.devcontainer/devcontainer.json
2024-12-15 18:02:25 +01:00

51 lines
1.2 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "buntest",
"image": "despiegk/devel:latest",
"features": {
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {},
"extensions": [
"saoudrizwan.claude-dev",
"ms-vscode.vscode-typescript-next",
"mhutchie.git-graph",
"donjayamanne.git-extension-pack"
]
}
},
"mounts": [
"source=${localEnv:HOME}/code,target=/root/code,type=bind,consistency=cached"
],
"forwardPorts": [3000, 6379],
// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
"portsAttributes": {
"3000": {
"label": "Hello Remote World",
"onAutoForward": "notify"
},
"6379": {
"label": "Redis",
"onAutoForward": "notify"
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bun install",
// Use 'postStartCommand' to start the server automatically
"postStartCommand": "bun run start",
"remoteUser": "root"
}