mirror of https://github.com/usbharu/Hideout.git
31 lines
1.1 KiB
JSON
31 lines
1.1 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/java-postgres
|
|
{
|
|
"name": "Java & PostgreSQL",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
// "features": {}
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// This can be used to network with other containers or with the host.
|
|
"forwardPorts": [
|
|
5432,
|
|
8080,
|
|
27017
|
|
],
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "java -version",
|
|
|
|
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"jetbrains": {
|
|
"backend": "IntelliJ"
|
|
}
|
|
},
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|