prepnutie na docker-compose

This commit is contained in:
2026-02-21 18:25:57 +00:00
parent 8938b65685
commit 8c99d6e975

View File

@@ -1,5 +1,7 @@
{ {
"name": "Python Dev", "name": "Python Dev",
"dockerComposeFile": "docker-compose.yml",
"service": "dev",
"containerEnv": { "containerEnv": {
"PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple", "PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple",
"PIP_ROOT_USER_ACTION": "ignore" "PIP_ROOT_USER_ACTION": "ignore"
@@ -17,11 +19,16 @@
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"ms-python.vscode-pylance", "ms-python.vscode-pylance",
"ms-python.autopep8",
"ms-toolsai.jupyter", "ms-toolsai.jupyter",
"ms-python.black-formatter", "ms-python.black-formatter",
"ms-python.isort", "ms-python.isort",
"codezombiech.gitignore",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker", "ms-azuretools.vscode-docker",
"openai.chatgpt" "docker.docker",
"openai.chatgpt",
"continue.continue"
], ],
"settings": { "settings": {
"python.formatting.provider": "black", "python.formatting.provider": "black",
@@ -39,7 +46,9 @@
}, },
"mounts": [ "mounts": [
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock", "type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock",
"type=bind,source=${localEnv:USERPROFILE}/.codex,target=/root/.codex" "type=volume,source=docextractor-codex,target=/root/.codex",
"type=bind,source=${localEnv:USERPROFILE}/.codex/auth.json,target=/root/.codex/auth.json,readonly",
"type=bind,source=${localEnv:USERPROFILE}/.pypirc,target=/root/.pypirc,readonly"
], ],
"postCreateCommand": "bash .devcontainer/post_create.sh", "postCreateCommand": "bash .devcontainer/post_create.sh",
"forwardPorts": [], "forwardPorts": [],
@@ -47,7 +56,5 @@
"*": { "*": {
"onAutoForward": "ignore" "onAutoForward": "ignore"
} }
}, }
"image": "docker.masara.eu/python:3.13-0.1-devcontainer",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
} }