47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"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": "",
|
|
"description": "The root directory for filebrowser to serve"
|
|
},
|
|
"baseUrl": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The base URL for filebrowser (e.g., /filebrowser)"
|
|
}
|
|
},
|
|
"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": 6,
|
|
"subdomain": true,
|
|
"healthcheck": {
|
|
"url": "http://localhost:${localEnv:FEATURE_FILEBROWSER_OPTION_PORT:13339}/health",
|
|
"interval": 5,
|
|
"threshold": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|