feat: 添加员工门户项目及相关后端改造
- 新增 hzhub-portal-employee 员工门户前端项目(基于 Vue3 + Element Plus) - 后端登录接口增加返回 nickName 字段 - 移除 KnowledgeInfoController 的 @SaCheckPermission 注解 - 删除 hzhub-portal-company 旧门户项目 - 更新项目文档和架构说明 - 添加后台运行管理脚本(start-all.sh / status-all.sh / stop-all.sh) - 更新 docker-compose 配置 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
24
hzhub-portal-employee/docker-compose.yml
Normal file
24
hzhub-portal-employee/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# ==================== HZHub-AI 前端服务 ====================
|
||||
frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.frontend
|
||||
container_name: hzhub-ai-web
|
||||
restart: always
|
||||
ports:
|
||||
- "5137:5137"
|
||||
environment:
|
||||
# 后端 API 地址 - 运行时通过 nginx 代理
|
||||
# 在完整 docker-compose 中应设置为: http://backend:6039
|
||||
# 独立运行时可设置为实际后端地址
|
||||
UPSTREAM_URL: http://host.docker.internal:26039
|
||||
networks:
|
||||
- ruoyi-net
|
||||
|
||||
# ==================== 网络配置 ====================
|
||||
networks:
|
||||
ruoyi-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user