49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "ofvpserver",
|
|
"image": "ghcr.io/ofvp-project/devcontainer:latest",
|
|
"forwardPorts": [
|
|
3000
|
|
],
|
|
"hostRequirements": {
|
|
"cpus": 2,
|
|
"memory": "2gb",
|
|
"storage": "128gb"
|
|
},
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "npm install --no-save && sudo /etc/init.d/mongodb start",
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "gitpod",
|
|
"runArgs": [
|
|
"--privileged",
|
|
"-v", "/var/run/docker.sock:/var/run/docker.sock",
|
|
"-p", "51820:51820/udp",
|
|
"-p", "7300:7300/tcp",
|
|
"-p", "2222:22/tcp"
|
|
],
|
|
"extensions": [
|
|
"akamud.vscode-theme-onedark",
|
|
"formulahendry.auto-rename-tag",
|
|
"hookyqr.beautify",
|
|
"aaron-bond.better-comments",
|
|
"wmaurer.change-case",
|
|
"oouo-diogo-perdigao.docthis",
|
|
"dbaeumer.vscode-eslint",
|
|
"me-dutour-mathieu.vscode-github-actions",
|
|
"github.copilot",
|
|
"benshabatnoam.google-translate-ext",
|
|
"oderwat.indent-rainbow",
|
|
"tgreen7.vs-code-node-require",
|
|
"eg2.vscode-npm-script",
|
|
"christian-kohler.npm-intellisense",
|
|
"ionutvmi.path-autocomplete",
|
|
"christian-kohler.path-intellisense",
|
|
"esbenp.prettier-vscode",
|
|
"rangav.vscode-thunder-client",
|
|
"visualstudioexptteam.vscodeintellicode",
|
|
"vscode-icons-team.vscode-icons",
|
|
"redhat.vscode-yaml",
|
|
"eamodio.gitlens",
|
|
"mongodb.mongodb-vscode",
|
|
"ms-azuretools.vscode-docker"
|
|
]
|
|
} |