Files
Hydro/.devcontainer/devcontainer.json
T
2026-05-10 01:12:46 +08:00

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"
}