mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(.devcontainer): add cursor, filebrowser, windsurf and zed (#18608)
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "filebrowser",
|
||||
"version": "0.0.1",
|
||||
"name": "File Browser",
|
||||
"description": "A web-based file browser for your development container",
|
||||
"options": {
|
||||
"port": {
|
||||
"type": "string",
|
||||
"default": "13339",
|
||||
"description": "The port to run filebrowser on"
|
||||
},
|
||||
// "folder": {
|
||||
// "type": "string",
|
||||
// "default": "${containerWorkspaceFolder}",
|
||||
// "description": "The root directory for filebrowser to serve"
|
||||
// },
|
||||
"auth": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"none",
|
||||
"password"
|
||||
],
|
||||
"default": "none",
|
||||
"description": "Authentication method (none or password)"
|
||||
}
|
||||
},
|
||||
"entrypoint": "/usr/local/bin/filebrowser-entrypoint",
|
||||
"dependsOn": {
|
||||
"ghcr.io/devcontainers/features/common-utils:2": {}
|
||||
},
|
||||
"customizations": {
|
||||
"coder": {
|
||||
"apps": [
|
||||
{
|
||||
"slug": "filebrowser",
|
||||
"displayName": "File Browser",
|
||||
"url": "http://localhost:${localEnv:FEATURE_FILEBROWSER_OPTION_PORT:13339}",
|
||||
"icon": "/icon/filebrowser.svg",
|
||||
"order": 3,
|
||||
"subdomain": true,
|
||||
"healthcheck": {
|
||||
"url": "http://localhost:${localEnv:FEATURE_FILEBROWSER_OPTION_PORT:13339}/health",
|
||||
"interval": 5,
|
||||
"threshold": 6
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user