mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
37 lines
891 B
JSON
37 lines
891 B
JSON
{
|
|
"name": "Hydro Dev Container",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "hydro",
|
|
"workspaceFolder": "/workspace",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"gruntfuggly.todo-tree",
|
|
"ronnidc.nunjucks",
|
|
"sysoev.language-stylus"
|
|
]
|
|
}
|
|
},
|
|
"remoteUser": "root",
|
|
"forwardPorts": [
|
|
2333,
|
|
3010,
|
|
8000
|
|
],
|
|
"features": {
|
|
"ghcr.io/devcontainers-extra/features/gh-release:1": {
|
|
"repo": "criyle/go-judge",
|
|
"binaryNames": "go-judge",
|
|
"assetRegex": "go-judge_.*\\.tar\\.gz"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
|
|
"packages": [
|
|
"gcc",
|
|
"g++"
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "git submodule update --init && yarn install && npx hydrooj cli system set server.port 2333 && npx hydrooj cli user create root@hydro.local root rootroot 2 && npx hydrooj cli user setSuperAdmin 2"
|
|
}
|