mirror of
https://github.com/bitwarden/server
synced 2026-01-27 14:53:21 +00:00
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "Bitwarden Community Dev",
|
|
"dockerComposeFile": "../../.devcontainer/bitwarden_common/docker-compose.yml",
|
|
"service": "bitwarden_server",
|
|
"workspaceFolder": "/workspace",
|
|
"initializeCommand": "mkdir -p dev/.data/keys dev/.data/mssql dev/.data/azurite dev/helpers/mssql",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "22"
|
|
},
|
|
"ghcr.io/devcontainers/features/rust:1": {}
|
|
},
|
|
"mounts": [
|
|
{
|
|
"source": "../../dev/.data/keys",
|
|
"target": "/home/vscode/.aspnet/DataProtection-Keys",
|
|
"type": "bind"
|
|
}
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": ["ms-dotnettools.csdevkit"]
|
|
}
|
|
},
|
|
"postCreateCommand": "bash .devcontainer/community_dev/postCreateCommand.sh",
|
|
"forwardPorts": [1080, 1433, 3306, 5432],
|
|
"portsAttributes": {
|
|
"default": {
|
|
"onAutoForward": "ignore"
|
|
},
|
|
"1080": {
|
|
"label": "Mail Catcher",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"1433": {
|
|
"label": "SQL Server",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"3306": {
|
|
"label": "MySQL",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"5432": {
|
|
"label": "PostgreSQL",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
}
|