fix: 更新 Dockerfile 和 pom.xml 中的路径引用为 hzhub

This commit is contained in:
2026-03-27 07:11:58 +00:00
parent ff0ec6d2e3
commit f8f805de53
15 changed files with 31 additions and 31 deletions

View File

@@ -5,13 +5,13 @@ WORKDIR /app
# 复制pom文件和源码
COPY pom.xml .
COPY ruoyi-admin ./ruoyi-admin
COPY ruoyi-common ./ruoyi-common
COPY ruoyi-extend ./ruoyi-extend
COPY ruoyi-modules ./ruoyi-modules
COPY hzhub-admin ./hzhub-admin
COPY hzhub-common ./hzhub-common
COPY hzhub-extend ./hzhub-extend
COPY hzhub-modules ./hzhub-modules
# 构建项目(跳过测试)
RUN mvn clean package -DskipTests -pl ruoyi-admin -am
RUN mvn clean package -DskipTests -pl hzhub-admin -am
# 运行阶段
FROM eclipse-temurin:17-jre-alpine
@@ -19,7 +19,7 @@ FROM eclipse-temurin:17-jre-alpine
WORKDIR /app
# 复制构建产物
COPY --from=builder /app/ruoyi-admin/target/ruoyi-admin.jar app.jar
COPY --from=builder /app/hzhub-admin/target/hzhub-admin.jar app.jar
# 暴露端口
EXPOSE 6039

View File

@@ -67,24 +67,24 @@
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-system</artifactId>
<artifactId>hzhub-system</artifactId>
</dependency>
<!-- 代码生成-->
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-generator</artifactId>
<artifactId>hzhub-generator</artifactId>
</dependency>
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-chat</artifactId>
<artifactId>hzhub-chat</artifactId>
</dependency>
<!-- 工作流模块 -->
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-workflow</artifactId>
<artifactId>hzhub-workflow</artifactId>
</dependency>
<!-- AI流程编排模块 -->

View File

@@ -26,7 +26,7 @@ sys:
snail-job:
enabled: false
# 需要在 SnailJob 后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
group: "ruoyi_group"
group: "hzhub_group"
# SnailJob 接入验证令牌 详见 script/sql/ry_job.sql `sj_group_config` 表
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
server:
@@ -58,7 +58,7 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://127.0.0.1:3306/ruoyi_ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
url: jdbc:mysql://127.0.0.1:3306/hzhub_ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: root
password: hzhub123
# agent:

View File

@@ -26,7 +26,7 @@ sys:
snail-job:
enabled: false
# 需要在 SnailJob 后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
group: "ruoyi_group"
group: "hzhub_group"
# SnailJob 接入验证令牌 详见 script/sql/ry_job.sql `sj_group_config` 表
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
server:

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>ruoyi-monitor-admin</artifactId>
<artifactId>hzhub-monitor-admin</artifactId>
<dependencies>
<!-- SpringBoot Web容器 -->

View File

@@ -2,7 +2,7 @@
<configuration debug="false" scan="true" scanPeriod="1 seconds">
<contextName>logback</contextName>
<property name="log.path" value="./logs/ruoyi-monitor-admin"/>
<property name="log.path" value="./logs/hzhub-monitor-admin"/>
<property name="console.log.pattern"
value="%cyan(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}%n) - %msg%n"/>
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"/>

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>ruoyi-snailjob-server</artifactId>
<artifactId>hzhub-snailjob-server</artifactId>
<dependencies>
<dependency>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<property name="log.path" value="./logs/ruoyi-snailjob-server" />
<property name="log.path" value="./logs/hzhub-snailjob-server" />
<property name="console.log.pattern"
value="%cyan(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}%n) - %msg%n"/>
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"/>

View File

@@ -12,8 +12,8 @@
<packaging>pom</packaging>
<modules>
<module>ruoyi-monitor-admin</module>
<module>ruoyi-snailjob-server</module>
<module>hzhub-monitor-admin</module>
<module>hzhub-snailjob-server</module>
</modules>
</project>

View File

@@ -7,7 +7,7 @@
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ruoyi-chat</artifactId>
<artifactId>hzhub-chat</artifactId>
<description>
聊天模块 - API定义和服务实现
</description>

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ruoyi-generator</artifactId>
<artifactId>hzhub-generator</artifactId>
<description>
generator 代码生成

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ruoyi-system</artifactId>
<artifactId>hzhub-system</artifactId>
<description>
system系统模块

View File

@@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>ruoyi-workflow</artifactId>
<artifactId>hzhub-workflow</artifactId>
<description>
工作流模块

View File

@@ -11,10 +11,10 @@
<modules>
<module>hzhub-aiflow</module>
<module>ruoyi-chat</module>
<module>ruoyi-generator</module>
<module>ruoyi-system</module>
<module>ruoyi-workflow</module>
<module>hzhub-chat</module>
<module>hzhub-generator</module>
<module>hzhub-system</module>
<module>hzhub-workflow</module>
</modules>
<artifactId>hzhub-modules</artifactId>

View File

@@ -359,26 +359,26 @@
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-system</artifactId>
<artifactId>hzhub-system</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-generator</artifactId>
<artifactId>hzhub-generator</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-chat</artifactId>
<artifactId>hzhub-chat</artifactId>
<version>${revision}</version>
</dependency>
<!-- 工作流模块 -->
<dependency>
<groupId>org.hzhub</groupId>
<artifactId>ruoyi-workflow</artifactId>
<artifactId>hzhub-workflow</artifactId>
<version>${revision}</version>
</dependency>