chore: update devcontainer.json
This commit is contained in:
parent
86a183ec21
commit
ad5280ba29
|
@ -13,74 +13,75 @@
|
||||||
|
|
||||||
"features": {
|
"features": {
|
||||||
},
|
},
|
||||||
|
|
||||||
// Set *default* container specific settings.json values on container create.
|
"customizations": {
|
||||||
"settings": {
|
"vscode": {
|
||||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
"extensions": [
|
||||||
"python.pythonPath": "/usr/local/bin/python",
|
"arcanis.vscode-zipfs",
|
||||||
"python.languageServer": "Pylance",
|
"batisteo.vscode-django",
|
||||||
"python.linting.enabled": true,
|
"dbaeumer.vscode-eslint",
|
||||||
"python.linting.pylintEnabled": true,
|
"eamodio.gitlens",
|
||||||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
"editorconfig.editorconfig",
|
||||||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
"vue.volar",
|
||||||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
"mrmlnc.vscode-duplicate",
|
||||||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
"ms-azuretools.vscode-docker",
|
||||||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
"ms-playwright.playwright",
|
||||||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
"ms-python.python",
|
||||||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
"ms-python.vscode-pylance",
|
||||||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
"ms-python.pylint",
|
||||||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
|
"mtxr.sqltools-driver-pg",
|
||||||
"python.testing.pytestArgs": [
|
"mtxr.sqltools",
|
||||||
"ietf"
|
"mutantdino.resourcemonitor",
|
||||||
],
|
"oderwat.indent-rainbow",
|
||||||
"python.testing.unittestEnabled": true,
|
"redhat.vscode-yaml",
|
||||||
"python.testing.pytestEnabled": false,
|
"spmeesseman.vscode-taskexplorer",
|
||||||
"python.testing.unittestArgs": [
|
"visualstudioexptteam.vscodeintellicode"
|
||||||
"-v",
|
],
|
||||||
"-s",
|
"settings": {
|
||||||
"./ietf",
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||||
"-p",
|
"python.pythonPath": "/usr/local/bin/python",
|
||||||
"test*.py"
|
"python.languageServer": "Default",
|
||||||
],
|
"python.linting.enabled": true,
|
||||||
"sqltools.connections": [
|
"python.linting.pylintEnabled": true,
|
||||||
// Default connection to dev DB container
|
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
||||||
{
|
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
||||||
"name": "Local PostgreSQL",
|
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
||||||
"server": "db",
|
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
||||||
"port": 5432,
|
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
||||||
"database": "ietf",
|
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
||||||
"username": "django",
|
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
||||||
"password": "RkTkDPFnKpko",
|
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
||||||
"driver": "PostgreSQL",
|
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
|
||||||
"askForPassword": false,
|
"python.testing.pytestArgs": [
|
||||||
"connectionTimeout": 60
|
"ietf"
|
||||||
|
],
|
||||||
|
"python.testing.unittestEnabled": true,
|
||||||
|
"python.testing.pytestEnabled": false,
|
||||||
|
"python.testing.unittestArgs": [
|
||||||
|
"-v",
|
||||||
|
"-s",
|
||||||
|
"./ietf",
|
||||||
|
"-p",
|
||||||
|
"test*.py"
|
||||||
|
],
|
||||||
|
"sqltools.connections": [
|
||||||
|
// Default connection to dev DB container
|
||||||
|
{
|
||||||
|
"name": "Local PostgreSQL",
|
||||||
|
"server": "db",
|
||||||
|
"port": 5432,
|
||||||
|
"database": "ietf",
|
||||||
|
"username": "django",
|
||||||
|
"password": "RkTkDPFnKpko",
|
||||||
|
"driver": "PostgreSQL",
|
||||||
|
"askForPassword": false,
|
||||||
|
"connectionTimeout": 60
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
// "python.envFile": "${workspaceFolder}/.devcontainer/dev.env"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [
|
|
||||||
"arcanis.vscode-zipfs",
|
|
||||||
"batisteo.vscode-django",
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"eamodio.gitlens",
|
|
||||||
"editorconfig.editorconfig",
|
|
||||||
"vue.volar",
|
|
||||||
"mrmlnc.vscode-duplicate",
|
|
||||||
"ms-azuretools.vscode-docker",
|
|
||||||
"ms-playwright.playwright",
|
|
||||||
"ms-python.python",
|
|
||||||
"ms-python.vscode-pylance",
|
|
||||||
"mtxr.sqltools-driver-pg",
|
|
||||||
"mtxr.sqltools",
|
|
||||||
"mutantdino.resourcemonitor",
|
|
||||||
"oderwat.indent-rainbow",
|
|
||||||
"redhat.vscode-yaml",
|
|
||||||
"spmeesseman.vscode-taskexplorer",
|
|
||||||
"visualstudioexptteam.vscodeintellicode"
|
|
||||||
],
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
"forwardPorts": [8000, 5432],
|
"forwardPorts": [8000, 5432],
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue