Files
notifications-api/devcontainer-api/.devcontainer.json

49 lines
1.3 KiB
JSON
Raw Normal View History

{
"name": "notification-api",
"dockerComposeFile": "../docker-compose.devcontainer.yml",
"service": "dev",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"remoteEnv": {
"PATH": "/home/vscode/.local/bin:${containerEnv:PATH}" // give our installed Python modules precedence
},
"settings": {
"[python]": {
"editor.formatOnSave": true
},
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.linting.pylintPath": "/usr/local/share/pip-global/bin/pylint",
"python.analysis.extraPaths": [
2022-10-03 17:16:59 -07:00
"/home/vscode/.local/lib/python3.9/site-packages",
"/home/vscode/.local/bin"
]
},
"features": {
"docker-from-docker": {
"version": "latest",
"moby": true
}
},
"extensions": [
2022-07-25 15:19:05 -07:00
// "ms-python.python",
"donjayamanne.python-extension-pack",
2022-07-25 15:19:05 -07:00
// "ms-azuretools.vscode-docker",
"ms-python.vscode-pylance",
"eamodio.gitlens",
"wholroyd.jinja",
"pmbenjamin.vscode-snyk",
"visualstudioexptteam.vscodeintellicode",
"yzhang.markdown-all-in-one",
"ms-ossdata.vscode-postgresql",
2022-07-25 15:19:05 -07:00
// "ms-vsliveshare.vsliveshare",
// "mtxr.sqltools",
// "mtxr.sqltools-driver-pg"
],
"forwardPorts": [
6011
],
"postCreateCommand": "notify-dev-entrypoint.sh",
"remoteUser": "vscode"
}