prepnutie na docker-compose
This commit is contained in:
@@ -1,53 +1,60 @@
|
|||||||
{
|
{
|
||||||
"name": "Python Dev",
|
"name": "Python Dev",
|
||||||
"containerEnv": {
|
"dockerComposeFile": "docker-compose.yml",
|
||||||
"PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple",
|
"service": "dev",
|
||||||
"PIP_ROOT_USER_ACTION": "ignore"
|
"containerEnv": {
|
||||||
},
|
"PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple",
|
||||||
"remoteEnv": {
|
"PIP_ROOT_USER_ACTION": "ignore"
|
||||||
"DOCKER_BUILDKIT": "1",
|
},
|
||||||
"VIRTUAL_ENV": "/workspace/.venv",
|
"remoteEnv": {
|
||||||
"PATH": "/workspace/.venv/bin:${containerEnv:PATH}"
|
"DOCKER_BUILDKIT": "1",
|
||||||
},
|
"VIRTUAL_ENV": "/workspace/.venv",
|
||||||
"workspaceFolder": "/workspace",
|
"PATH": "/workspace/.venv/bin:${containerEnv:PATH}"
|
||||||
"remoteUser": "root",
|
},
|
||||||
"overrideCommand": true,
|
"workspaceFolder": "/workspace",
|
||||||
"customizations": {
|
"remoteUser": "root",
|
||||||
"vscode": {
|
"overrideCommand": true,
|
||||||
"extensions": [
|
"customizations": {
|
||||||
"ms-python.python",
|
"vscode": {
|
||||||
"ms-python.vscode-pylance",
|
"extensions": [
|
||||||
"ms-toolsai.jupyter",
|
"ms-python.python",
|
||||||
"ms-python.black-formatter",
|
"ms-python.vscode-pylance",
|
||||||
"ms-python.isort",
|
"ms-python.autopep8",
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-toolsai.jupyter",
|
||||||
"openai.chatgpt"
|
"ms-python.black-formatter",
|
||||||
],
|
"ms-python.isort",
|
||||||
"settings": {
|
"codezombiech.gitignore",
|
||||||
"python.formatting.provider": "black",
|
"davidanson.vscode-markdownlint",
|
||||||
"python.analysis.extraPaths": [
|
"ms-azuretools.vscode-docker",
|
||||||
"${workspaceFolder}/app"
|
"docker.docker",
|
||||||
],
|
"openai.chatgpt",
|
||||||
"editor.formatOnSave": true,
|
"continue.continue"
|
||||||
"python.terminal.activateEnvironment": true,
|
],
|
||||||
"python.defaultInterpreterPath": ".venv/bin/python",
|
"settings": {
|
||||||
"remote.restoreForwardedPorts": false,
|
"python.formatting.provider": "black",
|
||||||
"remote.autoForwardPortsSource": "output",
|
"python.analysis.extraPaths": [
|
||||||
"debug.javascript.autoAttachFilter": "disabled"
|
"${workspaceFolder}/app"
|
||||||
}
|
],
|
||||||
}
|
"editor.formatOnSave": true,
|
||||||
},
|
"python.terminal.activateEnvironment": true,
|
||||||
"mounts": [
|
"python.defaultInterpreterPath": ".venv/bin/python",
|
||||||
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock",
|
"remote.restoreForwardedPorts": false,
|
||||||
"type=bind,source=${localEnv:USERPROFILE}/.codex,target=/root/.codex"
|
"remote.autoForwardPortsSource": "output",
|
||||||
],
|
"debug.javascript.autoAttachFilter": "disabled"
|
||||||
"postCreateCommand": "bash .devcontainer/post_create.sh",
|
}
|
||||||
"forwardPorts": [],
|
}
|
||||||
"portsAttributes": {
|
},
|
||||||
"*": {
|
"mounts": [
|
||||||
"onAutoForward": "ignore"
|
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock",
|
||||||
}
|
"type=volume,source=docextractor-codex,target=/root/.codex",
|
||||||
},
|
"type=bind,source=${localEnv:USERPROFILE}/.codex/auth.json,target=/root/.codex/auth.json,readonly",
|
||||||
"image": "docker.masara.eu/python:3.13-0.1-devcontainer",
|
"type=bind,source=${localEnv:USERPROFILE}/.pypirc,target=/root/.pypirc,readonly"
|
||||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
|
],
|
||||||
|
"postCreateCommand": "bash .devcontainer/post_create.sh",
|
||||||
|
"forwardPorts": [],
|
||||||
|
"portsAttributes": {
|
||||||
|
"*": {
|
||||||
|
"onAutoForward": "ignore"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user