mirror of
https://github.com/bitwarden/server.git
synced 2025-01-07 19:37:51 +01:00
Added nodejs to the dev container to support building Admin (#5187)
* Added nodejs to the dev container to support building Admin * Updated to use the existing devcontainer node feature * Moved features up to root
This commit is contained in:
parent
adfe365db9
commit
c5da5da517
@ -3,6 +3,11 @@
|
|||||||
"dockerComposeFile": "../../.devcontainer/bitwarden_common/docker-compose.yml",
|
"dockerComposeFile": "../../.devcontainer/bitwarden_common/docker-compose.yml",
|
||||||
"service": "bitwarden_server",
|
"service": "bitwarden_server",
|
||||||
"workspaceFolder": "/workspace",
|
"workspaceFolder": "/workspace",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "16"
|
||||||
|
}
|
||||||
|
},
|
||||||
"mounts": [
|
"mounts": [
|
||||||
{
|
{
|
||||||
"source": "../../dev/.data/keys",
|
"source": "../../dev/.data/keys",
|
||||||
@ -13,7 +18,6 @@
|
|||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {},
|
"settings": {},
|
||||||
"features": {},
|
|
||||||
"extensions": ["ms-dotnettools.csdevkit"]
|
"extensions": ["ms-dotnettools.csdevkit"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
],
|
],
|
||||||
"service": "bitwarden_server",
|
"service": "bitwarden_server",
|
||||||
"workspaceFolder": "/workspace",
|
"workspaceFolder": "/workspace",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "16"
|
||||||
|
}
|
||||||
|
},
|
||||||
"mounts": [
|
"mounts": [
|
||||||
{
|
{
|
||||||
"source": "../../dev/.data/keys",
|
"source": "../../dev/.data/keys",
|
||||||
@ -16,12 +21,11 @@
|
|||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {},
|
"settings": {},
|
||||||
"features": {},
|
|
||||||
"extensions": ["ms-dotnettools.csdevkit"]
|
"extensions": ["ms-dotnettools.csdevkit"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "bash .devcontainer/internal_dev/postCreateCommand.sh",
|
"postCreateCommand": "bash .devcontainer/internal_dev/postCreateCommand.sh",
|
||||||
"forwardPorts": [1080, 1433],
|
"forwardPorts": [1080, 1433, 3306, 5432, 10000, 10001, 10002],
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
"1080": {
|
"1080": {
|
||||||
"label": "Mail Catcher",
|
"label": "Mail Catcher",
|
||||||
@ -30,6 +34,26 @@
|
|||||||
"1433": {
|
"1433": {
|
||||||
"label": "SQL Server",
|
"label": "SQL Server",
|
||||||
"onAutoForward": "notify"
|
"onAutoForward": "notify"
|
||||||
|
},
|
||||||
|
"3306": {
|
||||||
|
"label": "MySQL",
|
||||||
|
"onAutoForward": "notify"
|
||||||
|
},
|
||||||
|
"5432": {
|
||||||
|
"label": "PostgreSQL",
|
||||||
|
"onAutoForward": "notify"
|
||||||
|
},
|
||||||
|
"10000": {
|
||||||
|
"label": "Azurite Storage Blob",
|
||||||
|
"onAutoForward": "notify"
|
||||||
|
},
|
||||||
|
"10001": {
|
||||||
|
"label": "Azurite Storage Queue ",
|
||||||
|
"onAutoForward": "notify"
|
||||||
|
},
|
||||||
|
"10002": {
|
||||||
|
"label": "Azurite Storage Table",
|
||||||
|
"onAutoForward": "notify"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user