diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-17 21:35:11 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-17 21:35:11 +0000 |
| commit | 3edc57fa22ad378826c1ed35f2cb0e6d657a20d4 (patch) | |
| tree | 49080bb4f0fc70bf112d0fb70df7ab9f0e4600f5 /.devcontainer/devcontainer.json | |
| parent | 424a95e0ac4a43b53cf4660a5785b5d1115cc3a6 (diff) | |
| download | ao-coverage-3edc57fa22ad378826c1ed35f2cb0e6d657a20d4.tar.gz ao-coverage-3edc57fa22ad378826c1ed35f2cb0e6d657a20d4.tar.bz2 ao-coverage-3edc57fa22ad378826c1ed35f2cb0e6d657a20d4.zip | |
Add devcontainer files
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..438255d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: +// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/javascript-node-mongo +// Update the VARIANT arg in docker-compose.yml to pick a Node.js version: 10, 12, 14 +{ + "name": "Ubuntu, Node.js & Mongo DB", + "dockerComposeFile": "docker-compose.yml", + "service": "app", + "workspaceFolder": "/workspace", + + // Set *default* container specific settings.json values on container create. + "settings": {}, + + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "dbaeumer.vscode-eslint", + "mongodb.mongodb-vscode" + ], + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [3000, 27017], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "yarn install", + + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "node" +}
\ No newline at end of file |
