54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"name": "unbox-x.nx.plugin",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspace",
|
|
"shutdownAction": "stopCompose",
|
|
"features": {
|
|
// "ghcr.io/devcontainers/features/node:1": {},
|
|
"ghcr.io/devcontainers-extra/features/typescript:2": {},
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
|
},
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
"terminal.integrated.profiles.linux": {
|
|
"zsh": {
|
|
"path": "/bin/zsh"
|
|
}
|
|
},
|
|
"scss.validate": false,
|
|
"css.validate": false,
|
|
"css.lint.unknownAtRules": "ignore",
|
|
"scss.lint.unknownAtRules": "ignore"
|
|
},
|
|
"extensions": [
|
|
"bradlc.vscode-tailwindcss",
|
|
"csstools.postcss",
|
|
"dbaeumer.vscode-eslint",
|
|
"donjayamanne.githistory",
|
|
"eamodio.gitlens",
|
|
"esbenp.prettier-vscode",
|
|
"firsttris.vscode-jest-runner",
|
|
"ms-azuretools.vscode-docker"
|
|
]
|
|
}
|
|
},
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "/bin/bash ./.devcontainer/postCreateCommand.sh",
|
|
"mounts": [
|
|
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached",
|
|
"source=${localEnv:HOME}/.netrc,target=/home/vscode/.netrc,type=bind,consistency=cached",
|
|
"source=${localEnv:HOME}/.npmrc,target=/home/vscode/.npmrc,type=bind,consistency=cached",
|
|
"source=${localEnv:HOME}/.yarnrc.yml,target=/home/vscode/.yarnrc.yml,type=bind,consistency=cached",
|
|
"source=${localEnv:HOME}/.config/pypoetry,target=/home/vscode/.config/pypoetry,type=bind,consistency=cached",
|
|
"source=${localEnv:HOME}/.ssh/id_rsa,target=/home/vscode/.ssh/id_rsa,type=bind,consistency=cached"
|
|
]
|
|
}
|