feat: add code queue services and baidu netdisk

This commit is contained in:
Codex
2026-05-13 00:59:36 +00:00
parent ae462ed9ef
commit 6a04144d3f
63 changed files with 10983 additions and 1101 deletions
+144 -11
View File
@@ -321,22 +321,22 @@
}
},
{
"id": "codex-queue",
"name": "Codex Queue",
"id": "baidu-netdisk",
"name": "Baidu Netdisk",
"providerId": "main-server",
"description": "Codex Queue 是主 server 承载的 Codex app-server 编排用户服务,用于串行任务队列、运行中输出、追加 prompt、打断会话、异常中断判定和自动重试。",
"description": "容器化百度网盘存储用户服务,提供 OAuth 设备码登录、应用目录浏览和 staging 目录上传下载任务。",
"repository": {
"url": "https://github.com/pikasTech/unidesk",
"commitId": "2aaf0447a62c336f3a488d77516edbf05ff1d742",
"dockerfile": "src/components/microservices/codex-queue/Dockerfile",
"commitId": "ae462ed9ef8057909fee9eabfadce5ed55e958a2",
"dockerfile": "src/components/microservices/baidu-netdisk/Dockerfile",
"composeFile": "docker-compose.yml",
"composeService": "codex-queue",
"containerName": "codex-queue-backend"
"composeService": "baidu-netdisk",
"containerName": "baidu-netdisk-backend"
},
"backend": {
"nodeBaseUrl": "http://codex-queue:4222",
"nodeBindHost": "codex-queue",
"nodePort": 4222,
"nodeBaseUrl": "http://baidu-netdisk:4244",
"nodeBindHost": "baidu-netdisk",
"nodePort": 4244,
"proxyMode": "provider-gateway-http",
"frontendOnly": true,
"public": false,
@@ -352,6 +352,139 @@
"/api/"
],
"healthPath": "/health",
"timeoutMs": 120000
},
"development": {
"providerId": "main-server",
"sshPassthrough": true,
"worktreePath": "/root/unidesk"
},
"frontend": {
"route": "/apps/baidu-netdisk",
"integrated": true
}
},
{
"id": "filebrowser",
"name": "File Browser D518",
"providerId": "D518",
"description": "File Browser WebUI 用户服务,部署在 D518 WSL provider Docker 中,挂载 provider host / 到 /srv,包含 /mnt/c 等 Windows 盘符;主 server 不再运行 File Browser 容器以节省资源。",
"repository": {
"url": "https://github.com/filebrowser/filebrowser",
"commitId": "ca5e249e3c0c94159c2136a0cd431a424eb18472",
"dockerfile": "docker.io/filebrowser/filebrowser:v2.63.3",
"composeFile": "docker run --restart unless-stopped",
"composeService": "unidesk-filebrowser-d518",
"containerName": "unidesk-filebrowser-d518"
},
"backend": {
"nodeBaseUrl": "http://host.docker.internal:4251",
"nodeBindHost": "0.0.0.0",
"nodePort": 4251,
"proxyMode": "provider-gateway-http",
"frontendOnly": true,
"public": false,
"allowedMethods": [
"GET",
"HEAD",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"allowedPathPrefixes": [
"/"
],
"healthPath": "/health",
"timeoutMs": 120000
},
"development": {
"providerId": "D518",
"sshPassthrough": true,
"worktreePath": "/"
},
"frontend": {
"route": "/apps/filebrowser",
"integrated": true
}
},
{
"id": "filebrowser-d601",
"name": "File Browser D601",
"providerId": "D601",
"description": "File Browser WebUI 用户服务,部署在 D601 WSL provider Docker 中,挂载 provider host / 到 /srv,包含 /mnt/c 等 Windows 盘符。",
"repository": {
"url": "https://github.com/filebrowser/filebrowser",
"commitId": "ca5e249e3c0c94159c2136a0cd431a424eb18472",
"dockerfile": "docker.io/filebrowser/filebrowser:v2.63.3",
"composeFile": "docker run --restart unless-stopped",
"composeService": "unidesk-filebrowser-d601",
"containerName": "unidesk-filebrowser-d601"
},
"backend": {
"nodeBaseUrl": "http://host.docker.internal:4251",
"nodeBindHost": "127.0.0.1",
"nodePort": 4251,
"proxyMode": "provider-gateway-http",
"frontendOnly": true,
"public": false,
"allowedMethods": [
"GET",
"HEAD",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"allowedPathPrefixes": [
"/"
],
"healthPath": "/health",
"timeoutMs": 120000
},
"development": {
"providerId": "D601",
"sshPassthrough": true,
"worktreePath": "/"
},
"frontend": {
"route": "/apps/filebrowser",
"integrated": true
}
},
{
"id": "code-queue",
"name": "Code Queue",
"providerId": "main-server",
"description": "Code Queue 是主 server 承载的平台无关代码代理队列用户服务,通过 port 层适配 Codex 与 OpenCode,用于串行任务队列、运行中输出、追加 prompt、打断会话、异常中断判定和自动重试。",
"repository": {
"url": "https://github.com/pikasTech/unidesk",
"commitId": "2aaf0447a62c336f3a488d77516edbf05ff1d742",
"dockerfile": "src/components/microservices/code-queue/Dockerfile",
"composeFile": "docker-compose.yml",
"composeService": "code-queue",
"containerName": "code-queue-backend"
},
"backend": {
"nodeBaseUrl": "http://code-queue:4222",
"nodeBindHost": "code-queue",
"nodePort": 4222,
"proxyMode": "provider-gateway-http",
"frontendOnly": true,
"public": false,
"allowedMethods": [
"GET",
"HEAD",
"POST",
"DELETE",
"PATCH"
],
"allowedPathPrefixes": [
"/health",
"/logs",
"/api/"
],
"healthPath": "/health",
"timeoutMs": 30000
},
"development": {
@@ -360,7 +493,7 @@
"worktreePath": "/root/unidesk"
},
"frontend": {
"route": "/apps/codex-queue",
"route": "/apps/code-queue",
"integrated": true
}
}