Add port attributes
This commit is contained in:
parent
e7741af34a
commit
cf4553a71e
|
@ -17,5 +17,11 @@
|
|||
"ghcr.io/devcontainers/features/github-cli:1": {
|
||||
|
||||
}
|
||||
},
|
||||
"portsAttributes": {
|
||||
"3000": {
|
||||
"label": "Application",
|
||||
"onAutoForward": "openBrowserOnce"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,5 +37,15 @@
|
|||
"COMMANDLINE_ARGS": "--nowebui --cors-allow-origins=http://localhost:3000",
|
||||
"venv_dir": "/home/node/.webui-venv"
|
||||
},
|
||||
"runArgs": ["--gpus", "all"]
|
||||
"runArgs": ["--gpus", "all"],
|
||||
"portsAttributes": {
|
||||
"3000": {
|
||||
"label": "Application",
|
||||
"onAutoForward": "openBrowserOnce"
|
||||
},
|
||||
"7861": {
|
||||
"label": "Backend",
|
||||
"onAutoForward": "ignore"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue