diff --git a/pnpm-config/.devcontainer/devcontainer.json b/pnpm-config/.devcontainer/devcontainer.json index 386feff570a38efa9b9d42295c6e3317e4440b78..f24a7fdc243953234b356dc9d548aa9bfdf9fc5c 100644 --- a/pnpm-config/.devcontainer/devcontainer.json +++ b/pnpm-config/.devcontainer/devcontainer.json @@ -2,9 +2,42 @@ "name": "Hive NodeJS & Typescript", "image": "registry.gitlab.syncad.com/hive/common-ci-configuration/emsdk:4.0.1-3@sha256:a2aef5aee0c4bcf1655cd9388d9d940ebfe588c66dae12d0abf5e21a6aff6f0d", "containerUser": "emscripten", + //"runArgs": ["--network=host"], + "containerEnv": { + "DISPLAY": "host.docker.internal:0.0" + }, + + "portsAttributes": { + "8000-8080": { + "label": "Playwright test server, do not autoforward", + "onAutoForward": "ignore" + }, + "30000-50000": { + "label": "Playwright test server, do not autoforward", + "onAutoForward": "ignore" + } + }, + + "mounts": [ + { + "source": "/storage1/", + "target": "/storage1/", + "type": "bind" + }, + { + "source": "${localEnv:HOME}/.gitconfig", + "target": "/home/emscripten/.gitconfig", + "type": "bind" + } + ], "customizations": { "vscode": { - "extensions": [] + "extensions": [ + "ms-playwright.playwright", + "Vue.volar", + "GitHub.copilot", + "GitHub.copilot-chat" + ] } } } \ No newline at end of file