{
    "name": "Paperless Development",
    "dockerComposeFile": "docker-compose.devcontainer.sqlite-tika.yml",
    "service": "paperless-development",
    "workspaceFolder": "/usr/src/paperless/paperless-ngx",
    "forwardPorts": [4200, 8000],
    "containerEnv": {
        "UV_CACHE_DIR": "/usr/src/paperless/paperless-ngx/.uv-cache"
    },
    "postCreateCommand": "/bin/bash -c 'rm -rf .venv/.* && uv sync --group dev && uv run prek install'",
    "customizations": {
        "vscode": {
            "extensions": [
                "mhutchie.git-graph",
                "ms-python.python",
                "ms-vscode.js-debug-nightly",
                "eamodio.gitlens",
                "yzhang.markdown-all-in-one",
                "pnpm.pnpm"
            ],
            "settings": {
                "python.defaultInterpreterPath": "/usr/src/paperless/paperless-ngx/.venv/bin/python",
                "python.pythonPath": "/usr/src/paperless/paperless-ngx/.venv/bin/python",
                "python.terminal.activateEnvInCurrentTerminal": true,
                "editor.formatOnPaste": false,
                "editor.formatOnSave": true,
                "editor.formatOnType": true,
                "files.trimTrailingWhitespace": true
            }
        }
    },
    "remoteUser": "paperless"
}
