{ "name": "v2x-server", "dockerComposeFile": ["../compose.yaml", "compose.override.yaml"], "service": "app", "workspaceFolder": "/workspaces/v2x-server", "shutdownAction": "stopCompose", "forwardPorts": [8000, 8080, 3306], "portsAttributes": { "8000": { "label": "API", "onAutoForward": "notify" }, "8080": { "label": "Keycloak", "onAutoForward": "silent" }, "3306": { "label": "MySQL", "onAutoForward": "silent" } }, // The venv lives on a named volume owned by root until first use. "postCreateCommand": "sudo chown vscode:vscode .venv && uv sync --frozen && uv run pre-commit install", "remoteUser": "vscode", "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "charliermarsh.ruff", "ms-python.mypy-type-checker", "tamasfe.even-better-toml" ], "settings": { "python.defaultInterpreterPath": "/workspaces/v2x-server/.venv/bin/python", "python.testing.pytestEnabled": true, "python.testing.pytestArgs": ["tests"], "editor.formatOnSave": true, "[python]": { "editor.defaultFormatter": "charliermarsh.ruff", "editor.codeActionsOnSave": { "source.organizeImports": "explicit" } } } } } }