{ "name": "Serienbrief Dev", "dockerComposeFile": [ "../docker-compose.yml", "../docker-compose.override.yml" ], "service": "web", "workspaceFolder": "/app", "remoteUser": "app", "shutdownAction": "stopCompose", "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "ms-python.debugpy", "charliermarsh.ruff", "batisteo.vscode-django", "ms-azuretools.vscode-docker", "redhat.vscode-yaml", "tamasfe.even-better-toml", "eamodio.gitlens", "njpwerner.autodocstring" ], "settings": { "python.defaultInterpreterPath": "/usr/local/bin/python", "python.terminal.activateEnvironment": false, "python.testing.pytestEnabled": true, "python.testing.pytestArgs": ["app"], "[python]": { "editor.formatOnSave": true, "editor.defaultFormatter": "charliermarsh.ruff", "editor.codeActionsOnSave": { "source.organizeImports": "explicit", "source.fixAll": "explicit" } }, "files.exclude": { "**/__pycache__": true, "**/*.pyc": true } } } }, "forwardPorts": [8000, 5678, 5432, 6379, 8080], "portsAttributes": { "8000": { "label": "Django runserver" }, "5678": { "label": "debugpy" }, "8080": { "label": "App-Nginx" }, "5432": { "label": "PostgreSQL" }, "6379": { "label": "Redis" } }, "postCreateCommand": "pip install --user -e . 2>/dev/null || true && python manage.py migrate --noinput || true" }