wroofauth/.devcontainer/devcontainer.json
2023-10-19 12:13:21 +00:00

33 lines
No EOL
850 B
JSON

{
"name": "Go & MongoDB",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"golang.Go",
"ms-azuretools.vscode-docker"
]
}
},
"forwardPorts": [3001],
"postCreateCommand": "go version && go mod download",
"remoteUser": "vscode",
"features": {
"kubectl-helm-minikube": "latest",
"github-cli": "latest"
}
}