Files
backend/.devcontainer/devcontainer.json
T
TakahashiNg 7906bb4ce9
Java CI with Maven / build-and-test (pull_request) Failing after 5m54s
chore: update
2026-04-15 07:41:39 +00:00

43 lines
1.1 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
{
"build": {
"dockerfile": "Dockerfile",
"args": {
"http_proxy": "http://host.docker.internal:3142",
},
"options": [
"--add-host=host.docker.internal:host-gateway"
],
},
"runArgs": [
"--add-host=host.docker.internal:host-gateway"
],
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
],
"remoteUser": "root",
"customizations": {
"vscode": {
"extensions": [
"redhat.vscode-quarkus",
"vscjava.vscode-java-pack",
"redhat.vscode-xml",
"esbenp.prettier-vscode",
"PeterSchmalfeldt.explorer-exclude",
"redhat.java",
"ryanluker.vscode-coverage-gutters"
]
}
},
"containerEnv": {
"TESTCONTAINERS_RYUK_DISABLED": "true",
"QUARKUS_DEBUG_HOST": "0.0.0.0",
"http_proxy": "http://host.docker.internal:3142"
},
"postCreateCommand": "git config --global --add safe.directory '*'",
"forwardPorts": [
5005,
8080
]
}