mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
b61b1eadaf
* Optionally Run `docker-compose` * Use Traversal Projects Over Solution Files * Cleanup VSCode Tasks * Bind DataProtection Keys to Host - Makes it so the container can be rebuilt without corrupting data * Update .vscode/tasks.json Co-authored-by: Matt Bishop <mbishop@bitwarden.com> --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
31 lines
741 B
JSON
31 lines
741 B
JSON
{
|
|
"name": "Bitwarden Dev",
|
|
"dockerComposeFile": [
|
|
"../../.devcontainer/bitwarden_common/docker-compose.yml",
|
|
"../../.devcontainer/internal_dev/docker-compose.override.yml"
|
|
],
|
|
"service": "bitwarden_server",
|
|
"workspaceFolder": "/workspace",
|
|
"mounts": [
|
|
{
|
|
"source": "../../dev/.data/keys",
|
|
"target": "/home/vscode/.aspnet/DataProtection-Keys",
|
|
"type": "bind"
|
|
}
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"features": {},
|
|
"extensions": ["ms-dotnettools.csdevkit"]
|
|
}
|
|
},
|
|
"postCreateCommand": "bash .devcontainer/internal_dev/postCreateCommand.sh",
|
|
"portsAttributes": {
|
|
"1080": {
|
|
"label": "Mail Catcher",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
}
|