mirror of
https://github.com/kerberos-io/agent.git
synced 2026-10-19 17:38:25 +00:00
Use port 8082 for UI development endpoints, VS Code debugging, and devcontainer forwarding. Allow overriding the UI API port with REACT_APP_AGENT_API_PORT and document the matching backend setup.
24 lines
607 B
JSON
24 lines
607 B
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/python
|
|
{
|
|
"name": "go:1.24-trixie",
|
|
"runArgs": [
|
|
"--name=agent",
|
|
"--network=host"
|
|
],
|
|
"dockerFile": "Dockerfile",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"GitHub.copilot",
|
|
"ms-azuretools.vscode-docker",
|
|
"mongodb.mongodb-vscode"
|
|
]
|
|
}
|
|
},
|
|
"forwardPorts": [
|
|
3000,
|
|
8082
|
|
],
|
|
"postCreateCommand": "cd ui && yarn install && yarn build && cd ../machinery && go mod download && bash ./verify-moq-devcontainer.sh"
|
|
} |