feat: add provider-backed microservices
This commit is contained in:
+75
@@ -63,6 +63,81 @@
|
||||
"composeFile": "docker-compose.yml",
|
||||
"projectName": "unidesk"
|
||||
},
|
||||
"microservices": [
|
||||
{
|
||||
"id": "findjob",
|
||||
"name": "FindJob",
|
||||
"providerId": "D601",
|
||||
"description": "FindJob 纯后端服务,部署在 D601 Docker 中,UniDesk frontend 负责统一前端展示。",
|
||||
"repository": {
|
||||
"url": "https://gitee.com/Lyon1998/findjob",
|
||||
"commitId": "2d43212c5f474df5d87820985a6c75a8c2e7ac42",
|
||||
"dockerfile": "Dockerfile",
|
||||
"composeFile": "docker-compose.yml",
|
||||
"composeService": "server",
|
||||
"containerName": "findjob-server"
|
||||
},
|
||||
"backend": {
|
||||
"nodeBaseUrl": "http://host.docker.internal:3254",
|
||||
"nodeBindHost": "127.0.0.1",
|
||||
"nodePort": 3254,
|
||||
"proxyMode": "provider-gateway-http",
|
||||
"frontendOnly": true,
|
||||
"public": false,
|
||||
"allowedPathPrefixes": [
|
||||
"/api/"
|
||||
],
|
||||
"healthPath": "/api/health",
|
||||
"timeoutMs": 12000
|
||||
},
|
||||
"development": {
|
||||
"providerId": "D601",
|
||||
"sshPassthrough": true,
|
||||
"worktreePath": "/home/ubuntu/findjob"
|
||||
},
|
||||
"frontend": {
|
||||
"route": "/apps/findjob",
|
||||
"integrated": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "pipeline",
|
||||
"name": "Pipeline v2",
|
||||
"providerId": "D601",
|
||||
"description": "Pipeline v2 观测后端部署在 D601 Docker 中,UniDesk frontend 负责渲染组件矩阵、运行状态和证据摘要。",
|
||||
"repository": {
|
||||
"url": "https://github.com/pikasTech/pipeline",
|
||||
"commitId": "87811a8d43edf216a4f4d8efa55bbb96bad8df14",
|
||||
"dockerfile": "Dockerfile",
|
||||
"composeFile": "docker-compose.yml",
|
||||
"composeService": "pipeline-webui",
|
||||
"containerName": "pipeline-v2-webui"
|
||||
},
|
||||
"backend": {
|
||||
"nodeBaseUrl": "http://host.docker.internal:18082",
|
||||
"nodeBindHost": "127.0.0.1",
|
||||
"nodePort": 18082,
|
||||
"proxyMode": "provider-gateway-http",
|
||||
"frontendOnly": true,
|
||||
"public": false,
|
||||
"allowedPathPrefixes": [
|
||||
"/health",
|
||||
"/api/"
|
||||
],
|
||||
"healthPath": "/health",
|
||||
"timeoutMs": 15000
|
||||
},
|
||||
"development": {
|
||||
"providerId": "D601",
|
||||
"sshPassthrough": true,
|
||||
"worktreePath": "/home/ubuntu/pipeline"
|
||||
},
|
||||
"frontend": {
|
||||
"route": "/apps/pipeline",
|
||||
"integrated": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"stateDir": ".state",
|
||||
"logsDir": "logs",
|
||||
|
||||
Reference in New Issue
Block a user