|
1 | 1 | { |
2 | | - "name": "gitpod", |
3 | | - "build": { |
4 | | - "context": "..", |
5 | | - "dockerfile": "./Dockerfile" |
6 | | - }, |
7 | | - "workspaceMount": "source=${localWorkspaceFolder},target=/workspace/gitpod,type=bind", |
8 | | - "workspaceFolder": "/workspace/gitpod/", |
9 | | - "postCreateCommand": "dev/install-dependencies.sh", |
10 | | - "mounts": [ |
11 | | - "source=/usr/local/gitpod/config/,target=/usr/local/gitpod/config/,type=bind" |
12 | | - ], |
13 | | - "remoteEnv": { |
14 | | - "GIT_EDITOR": "code --wait", |
15 | | - "KUBE_EDITOR": "code --wait" |
16 | | - }, |
17 | | - "features": { |
18 | | - "ghcr.io/devcontainers/features/docker-in-docker:2": { |
19 | | - "installDockerComposeSwitch": false |
20 | | - } |
21 | | - }, |
22 | | - "customizations": { |
23 | | - "vscode": { |
24 | | - "extensions": [ |
25 | | - "EditorConfig.EditorConfig", |
26 | | - "golang.go", |
27 | | - "hashicorp.terraform", |
28 | | - "ms-azuretools.vscode-docker", |
29 | | - "ms-kubernetes-tools.vscode-kubernetes-tools", |
30 | | - "stkb.rewrap", |
31 | | - "zxh404.vscode-proto3", |
32 | | - "matthewpi.caddyfile-support", |
33 | | - "timonwong.shellcheck", |
34 | | - "fwcd.kotlin", |
35 | | - "dbaeumer.vscode-eslint", |
36 | | - "esbenp.prettier-vscode", |
37 | | - "hbenl.vscode-mocha-test-adapter" |
38 | | - ] |
39 | | - } |
| 2 | + "name": "gitpod", |
| 3 | + "build": { |
| 4 | + "context": "..", |
| 5 | + "dockerfile": "./Dockerfile" |
| 6 | + }, |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/docker-in-docker:2": {} |
| 9 | + }, |
| 10 | + "workspaceFolder": "/workspace/gitpod", |
| 11 | + "workspaceMount": "source=${localWorkspaceFolder},target=/workspace/gitpod,type=bind", |
| 12 | + "mounts": [ |
| 13 | + "source=/usr/local/gitpod/config/,target=/usr/local/gitpod/config/,type=bind" |
| 14 | + ], |
| 15 | + "remoteEnv": { |
| 16 | + "GIT_EDITOR": "code --wait", |
| 17 | + "KUBE_EDITOR": "code --wait" |
| 18 | + }, |
| 19 | + "forwardPorts": [ |
| 20 | + 1337, |
| 21 | + 3000, |
| 22 | + 3001, |
| 23 | + 3306, |
| 24 | + 4000, |
| 25 | + 5900, |
| 26 | + 6080, |
| 27 | + 7777, |
| 28 | + 9229, |
| 29 | + 9999, |
| 30 | + 13001, |
| 31 | + 13444, |
| 32 | + 8022 |
| 33 | + ], |
| 34 | + "portsAttributes": { |
| 35 | + "13001": { |
| 36 | + "label": "Port 13001", |
| 37 | + "onAutoForward": "ignore", |
| 38 | + "elevateIfNeeded": true |
| 39 | + }, |
| 40 | + "1337": { |
| 41 | + "label": "Port 1337", |
| 42 | + "onAutoForward": "openPreview", |
| 43 | + "elevateIfNeeded": true |
| 44 | + }, |
| 45 | + "13444": { |
| 46 | + "label": "Port 13444", |
| 47 | + "elevateIfNeeded": true |
| 48 | + }, |
| 49 | + "3000": { |
| 50 | + "label": "Port 3000", |
| 51 | + "onAutoForward": "ignore", |
| 52 | + "elevateIfNeeded": true |
| 53 | + }, |
| 54 | + "3001": { |
| 55 | + "label": "Port 3001", |
| 56 | + "onAutoForward": "ignore", |
| 57 | + "elevateIfNeeded": true |
| 58 | + }, |
| 59 | + "3306": { |
| 60 | + "label": "Port 3306", |
| 61 | + "onAutoForward": "ignore", |
| 62 | + "elevateIfNeeded": true |
| 63 | + }, |
| 64 | + "4000": { |
| 65 | + "label": "Port 4000", |
| 66 | + "onAutoForward": "ignore", |
| 67 | + "elevateIfNeeded": true |
| 68 | + }, |
| 69 | + "5900": { |
| 70 | + "label": "Port 5900", |
| 71 | + "onAutoForward": "ignore", |
| 72 | + "elevateIfNeeded": true |
| 73 | + }, |
| 74 | + "6080": { |
| 75 | + "label": "Port 6080", |
| 76 | + "onAutoForward": "ignore", |
| 77 | + "elevateIfNeeded": true |
| 78 | + }, |
| 79 | + "7777": { |
| 80 | + "label": "Port 7777", |
| 81 | + "onAutoForward": "ignore", |
| 82 | + "elevateIfNeeded": true |
| 83 | + }, |
| 84 | + "8022": { |
| 85 | + "label": "Port 8022", |
| 86 | + "onAutoForward": "ignore", |
| 87 | + "elevateIfNeeded": true |
| 88 | + }, |
| 89 | + "9229": { |
| 90 | + "label": "Port 9229", |
| 91 | + "onAutoForward": "ignore", |
| 92 | + "elevateIfNeeded": true |
| 93 | + }, |
| 94 | + "9999": { |
| 95 | + "label": "Port 9999", |
| 96 | + "onAutoForward": "ignore", |
| 97 | + "elevateIfNeeded": true |
| 98 | + } |
| 99 | + }, |
| 100 | + "customizations": { |
| 101 | + "vscode": { |
| 102 | + "extensions": [ |
| 103 | + "EditorConfig.EditorConfig", |
| 104 | + "golang.go", |
| 105 | + "hashicorp.terraform", |
| 106 | + "ms-azuretools.vscode-docker", |
| 107 | + "ms-kubernetes-tools.vscode-kubernetes-tools", |
| 108 | + "stkb.rewrap", |
| 109 | + "zxh404.vscode-proto3", |
| 110 | + "matthewpi.caddyfile-support", |
| 111 | + "heptio.jsonnet", |
| 112 | + "timonwong.shellcheck", |
| 113 | + "fwcd.kotlin", |
| 114 | + "dbaeumer.vscode-eslint", |
| 115 | + "esbenp.prettier-vscode", |
| 116 | + "akosyakov.gitpod-monitor", |
| 117 | + "hbenl.vscode-mocha-test-adapter" |
| 118 | + ] |
40 | 119 | } |
| 120 | + } |
41 | 121 | } |
0 commit comments