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>
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"name": "Bitwarden Clients (macOS / GitHub Codespaces)",
|
|
"dockerComposeFile": "../common/docker-compose.yml",
|
|
"service": "bitwarden_clients",
|
|
"workspaceFolder": "/workspace",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/rust:1": {},
|
|
"ghcr.io/devcontainers/features/desktop-lite: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, 6080],
|
|
"portsAttributes": {
|
|
"default": { "onAutoForward": "ignore" },
|
|
"8080": { "label": "Web Vault", "onAutoForward": "notify" },
|
|
"8081": { "label": "Web Vault (Self-hosted)", "onAutoForward": "notify" },
|
|
"6006": { "label": "Storybook", "onAutoForward": "notify" },
|
|
"6080": { "label": "Desktop (noVNC)", "onAutoForward": "ignore" }
|
|
}
|
|
}
|