|
13 | 13 | "extensions": [ |
14 | 14 | "anthropic.claude-code", |
15 | 15 | "ms-python.python", |
16 | | - "eamodio.gitlens" |
| 16 | + "eamodio.gitlens", |
| 17 | + "Vue.volar", |
| 18 | + "vitest.explorer", |
| 19 | + "ms-playwright.playwright", |
| 20 | + "dbaeumer.vscode-eslint", |
| 21 | + "EditorConfig.EditorConfig", |
| 22 | + "esbenp.prettier-vscode" |
17 | 23 | ], |
18 | 24 | "settings": { |
19 | 25 | "terminal.integrated.defaultProfile.linux": "zsh" |
|
29 | 35 | "mounts": [ |
30 | 36 | "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind", |
31 | 37 | "source=${localEnv:HOME}/.claude,target=/home/odoo/.claude,type=bind", |
| 38 | + "source=${localEnv:HOME}/.claude.json,target=/home/odoo/.claude.json,type=bind", |
32 | 39 | "source=${localEnv:HOME}/.gitconfig,target=/home/odoo/.gitconfig-host,type=bind,readonly", |
33 | 40 | "source=${localEnv:HOME}/.config/gh,target=/home/odoo/.config/gh,type=bind", |
34 | 41 | "source=${localEnv:HOME}/.ssh,target=/home/odoo/.ssh-host,type=bind,readonly", |
|
39 | 46 | "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/dswd-4ps-dp-openspp,type=bind", |
40 | 47 | "workspaceFolder": "/workspaces/dswd-4ps-dp-openspp", |
41 | 48 |
|
42 | | - "forwardPorts": [11111, 8069, 5432, 8081, 8025, 9001], |
| 49 | + "forwardPorts": [11111, 8069, 5432, 8081, 8025, 9001, 5174, 3000, 3001, 3456], |
43 | 50 | "portsAttributes": { |
44 | 51 | "11111": { "label": "OpenSPP (nginx)", "onAutoForward": "notify" }, |
45 | 52 | "8069": { "label": "Odoo (direct)", "onAutoForward": "silent" }, |
46 | 53 | "5432": { "label": "PostgreSQL", "onAutoForward": "silent" }, |
47 | 54 | "8081": { "label": "pgweb", "onAutoForward": "notify" }, |
48 | 55 | "8025": { "label": "Mailpit", "onAutoForward": "notify" }, |
49 | | - "9001": { "label": "Supervisor", "onAutoForward": "silent" } |
| 56 | + "9001": { "label": "Supervisor", "onAutoForward": "silent" }, |
| 57 | + "5174": { "label": "Mobile (Vue/Vite)", "onAutoForward": "notify" }, |
| 58 | + "3000": { "label": "Datacollect Backend", "onAutoForward": "silent" }, |
| 59 | + "3001": { "label": "Datacollect Admin", "onAutoForward": "silent" }, |
| 60 | + "3456": { "label": "Mobile SQLite dev", "onAutoForward": "silent" } |
50 | 61 | }, |
51 | 62 | "otherPortsAttributes": { |
52 | 63 | "onAutoForward": "ignore" |
53 | 64 | }, |
54 | 65 |
|
55 | | - "postCreateCommand": "sudo chown -R odoo:odoo /workspaces/dswd-4ps-dp-openspp /home/odoo/.claude /home/odoo/.config 2>/dev/null; cp /home/odoo/.gitconfig-host /home/odoo/.gitconfig 2>/dev/null || true; mkdir -p /home/odoo/.ssh && cp -a /home/odoo/.ssh-host/. /home/odoo/.ssh/ 2>/dev/null || true; chmod 700 /home/odoo/.ssh && chmod 600 /home/odoo/.ssh/* 2>/dev/null; chmod 644 /home/odoo/.ssh/*.pub /home/odoo/.ssh/config /home/odoo/.ssh/known_hosts 2>/dev/null || true; cd /workspaces/dswd-4ps-dp-openspp/DSWD/dswd-4ps-dp-openspp-v2-module && pre-commit install --install-hooks 2>/dev/null || true", |
| 66 | + "postCreateCommand": "sudo chown -R odoo:odoo /workspaces/dswd-4ps-dp-openspp /home/odoo/.claude /home/odoo/.config 2>/dev/null; cp /home/odoo/.gitconfig-host /home/odoo/.gitconfig 2>/dev/null || true; mkdir -p /home/odoo/.ssh && cp -a /home/odoo/.ssh-host/. /home/odoo/.ssh/ 2>/dev/null || true; chmod 700 /home/odoo/.ssh && chmod 600 /home/odoo/.ssh/* 2>/dev/null; chmod 644 /home/odoo/.ssh/*.pub /home/odoo/.ssh/config /home/odoo/.ssh/known_hosts 2>/dev/null || true; cd /workspaces/dswd-4ps-dp-openspp/DSWD/dswd-4ps-dp-openspp-v2-module && pre-commit install --install-hooks 2>/dev/null || true; [ -f /workspaces/dswd-4ps-dp-openspp/mobile/package.json ] && (cd /workspaces/dswd-4ps-dp-openspp/mobile && git submodule update --init --recursive 2>/dev/null; pnpm install --frozen-lockfile 2>/dev/null || pnpm install) || true", |
56 | 67 | "postStartCommand": "cp /home/odoo/.gitconfig-host /home/odoo/.gitconfig 2>/dev/null || true; cp -a /home/odoo/.ssh-host/. /home/odoo/.ssh/ 2>/dev/null || true; chmod 700 /home/odoo/.ssh && chmod 600 /home/odoo/.ssh/* 2>/dev/null; chmod 644 /home/odoo/.ssh/*.pub /home/odoo/.ssh/config /home/odoo/.ssh/known_hosts 2>/dev/null || true; nohup sudo /usr/bin/supervisord -c /etc/supervisor/supervisord.conf > /tmp/supervisord.log 2>&1 & sleep 2 && sudo chmod 666 /var/run/docker.sock 2>/dev/null || true", |
57 | 68 | "postAttachCommand": "PUB_KEY=$(ssh-add -L 2>/dev/null | grep -E '^ssh-' | head -1); [ -n \"$PUB_KEY\" ] && git config --global user.signingkey \"key::$PUB_KEY\" && echo 'Git signing key set from SSH agent' || echo 'WARNING: SSH agent not available or no keys loaded, signing key not updated'" |
58 | 69 | } |
0 commit comments