36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.128.0/containers/java-11
|
|
{
|
|
"name": "Java 11",
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
"service": "devcontainer",
|
|
|
|
"workspaceFolder": "/workspace",
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "/bin/bash",
|
|
"java.home": "/docker-java-home"
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"vscjava.vscode-java-pack",
|
|
"vscjava.vscode-spring-boot-dashboard",
|
|
"redhat.vscode-xml",
|
|
"octref.vetur"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
3000,
|
|
8080
|
|
],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "java -version",
|
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
}
|