diff --git a/.devops/config.yaml b/.devops/config.yaml index defd8da..473c033 100644 --- a/.devops/config.yaml +++ b/.devops/config.yaml @@ -117,6 +117,17 @@ repositories: docker_path: docker/a_th_web/html/dist docker_service: ruoyi-hyf + - name: ruoyi-hxf + url: http://th.local.t-aaron.com:13000/THENG/a_th_web.git + path: b_th_web + type: nodejs + build_commands: + - pnpm install + - pnpm run build-prod:hxf + artifact_path: apps/tuoheng_hxf_web/dist + docker_path: docker/b_th_web/html/dist + docker_service: ruoyi-hxf + # 系统服务 - name: ruoyi-system url: http://th.local.t-aaron.com:13000/THENG/a-ruoyi-system.git diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index e794125..6cdbcaf 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -103,6 +103,24 @@ services: - ruoyi-gateway links: - ruoyi-gateway + ruoyi-hxf: + container_name: ruoyi-hxf + image: hxf-runtime + build: + context: ./b_th_web + environment: + - TZ=Asia/Shanghai + ports: + - "9898:80" + volumes: + - ./b_th_web/html/dist:/home/ruoyi/projects/ruoyi-ui + - ./b_th_web/conf/nginx.conf:/etc/nginx/nginx.conf + - ./b_th_web/logs:/var/log/nginx + - ./b_th_web/conf.d:/etc/nginx/conf.d + depends_on: + - ruoyi-gateway + links: + - ruoyi-gateway ruoyi-gateway: container_name: ruoyi-gateway image: gateway-runtime