mirror of
https://github.com/bitwarden/browser
synced 2026-02-14 15:33:55 +00:00
Restructure devcontainers with browser-gui, native-gui variants and shared config
This commit is contained in:
30
.devcontainer/native-gui/devcontainer.json
Normal file
30
.devcontainer/native-gui/devcontainer.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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/postCreateCommand.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" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user