Description
Problem
In order to allow the full coder_app
experience with applications running inside a devcontainer, we need to allow decoupling coder_apps
from the template. Currently a coder_app
is only defined inside the template.
Proposed Solution
Allow devcontainers to declare a subset of the coder_app
spec inside customizations.coder
. This can then be read by the agent and used to dynamically create / update coder_apps
for the workspace agent.
For example:
{
[...]
"customizations": {
"coder": { // or maybe `com.coder.coder` instead?
"apps": [
{ // we can basically allow the entire coder_app spec in here, within reason
"slug": "code-server",
"display_name": "Code Server inside your Devcontainer!",
"url": 13337,
"icon": "/icon/code.svg",
"share": "owner",
"healthcheck": { [.. ] }
}
]
}
}
}
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels