mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-04 21:04:29 +08:00
* Added devcontainer setup (devcontainer.json, docker-compose.yml, postCreateCommand.sh) * Restructure devcontainers with browser-gui, native-gui variants and shared config * Rename postCreateCommand.sh to kebab-case * Updated dev container name to appear under the `bitwarden_common` docker compose stack * Exclude .devcontainer from Checkmarx KICS scans * Add sca and containers filters for Checkmarx * Remove sca and containers filters from Checkmarx config * Revert "Remove sca and containers filters from Checkmarx config" This reverts commit4eb4c0c124. * Mask node_modules and Rust target from host sync in devcontainer * Fix ownership of anonymous volume mount points in devcontainer * Build desktop native module in devcontainer post-create script * Fix Checkmarx config filters to use glob pattern for .devcontainer * Revert "Fix Checkmarx config filters to use glob pattern for .devcontainer" This reverts commitab1c70fcf6. --------- Co-authored-by: Amy Galles <9685081+AmyLGalles@users.noreply.github.com>
31 lines
1016 B
JSON
31 lines
1016 B
JSON
{
|
|
"name": "Bitwarden Clients (Windows / Linux)",
|
|
"dockerComposeFile": ["../common/docker-compose.yml", "docker-compose.override.yml"],
|
|
"service": "bitwarden_clients",
|
|
"workspaceFolder": "/workspace",
|
|
"initializeCommand": "bash .devcontainer/native-gui/setup-x11.sh",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/rust:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"angular.ng-template",
|
|
"orta.vscode-jest",
|
|
"esbenp.prettier-vscode",
|
|
"dbaeumer.vscode-eslint",
|
|
"nrwl.angular-console",
|
|
"bradlc.vscode-tailwindcss"
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "bash .devcontainer/common/post-create-command.sh",
|
|
"forwardPorts": [8080, 8081, 6006],
|
|
"portsAttributes": {
|
|
"default": { "onAutoForward": "ignore" },
|
|
"8080": { "label": "Web Vault", "onAutoForward": "notify" },
|
|
"8081": { "label": "Web Vault (Self-hosted)", "onAutoForward": "notify" },
|
|
"6006": { "label": "Storybook", "onAutoForward": "notify" }
|
|
}
|
|
}
|