1
0
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:
Conner Turnbull
2026-01-26 14:35:43 -05:00
parent b719c3f2ab
commit 2c260e23a7
10 changed files with 192 additions and 47 deletions

View 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" }
}
}