Merge branch 'refs/heads/zt-test' into test
# Conflicts: # pom.xml
This commit is contained in:
@@ -31,14 +31,14 @@ spec:
|
|||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /actuator/health
|
||||||
port: 48083
|
port: 48083
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 50
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /actuator/health
|
||||||
port: 48083
|
port: 48083
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 50
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
resources:
|
resources:
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "700m"
|
cpu: "1"
|
||||||
memory: "2048Mi"
|
memory: "2048Mi"
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
23
pom.xml
23
pom.xml
@@ -16,13 +16,15 @@
|
|||||||
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>3.0.42</revision>
|
<revision>3.0.43</revision>
|
||||||
<business.supply.version>3.0.42</business.supply.version>
|
<business.supply.version>3.0.43</business.supply.version>
|
||||||
<business.base.version>3.0.42</business.base.version>
|
<business.base.version>3.0.43</business.base.version>
|
||||||
<business.logistic.version>3.0.42</business.logistic.version>
|
<business.logistic.version>3.0.43</business.logistic.version>
|
||||||
<business.manage.version>3.0.42</business.manage.version>
|
<business.manage.version>3.0.43</business.manage.version>
|
||||||
<business.qms.version>3.0.42</business.qms.version>
|
<business.qms.version>3.0.43</business.qms.version>
|
||||||
<business.mes.version>3.0.42</business.mes.version>
|
<business.mes.version>3.0.43</business.mes.version>
|
||||||
|
<business.capital.version>3.0.43</business.capital.version>
|
||||||
|
<business.product.version>3.0.43</business.product.version>
|
||||||
<!-- Maven 相关 -->
|
<!-- Maven 相关 -->
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||||
@@ -195,8 +197,13 @@
|
|||||||
<name>中铜 ZStack 私服</name>
|
<name>中铜 ZStack 私服</name>
|
||||||
<url>http://172.16.46.63:30708/repository/test/</url>
|
<url>http://172.16.46.63:30708/repository/test/</url>
|
||||||
<releases>
|
<releases>
|
||||||
<enabled>true</enabled>
|
<updatePolicy>always</updatePolicy>
|
||||||
|
<checksumPolicy>warn</checksumPolicy>
|
||||||
</releases>
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>always</updatePolicy>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
## AdoptOpenJDK 停止发布 OpenJDK 二进制,而 Eclipse Temurin 是它的延伸,提供更好的稳定性
|
## AdoptOpenJDK 停止发布 OpenJDK 二进制,而 Eclipse Temurin 是它的延伸,提供更好的稳定性
|
||||||
|
|
||||||
FROM 172.16.46.66:10043/base-service/eclipse-temurin:21-jre
|
ARG BASE_IMAGE=172.16.46.66:10043/base-service/skywalking-agent-jre:9.7.0
|
||||||
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
## 创建目录,并使用它作为工作目录
|
## 创建目录,并使用它作为工作目录
|
||||||
RUN mkdir -p /zt-module-bpm-server
|
RUN mkdir -p /zt-module-bpm-server
|
||||||
@@ -10,10 +11,15 @@ COPY ./target/zt-module-bpm-server.jar app.jar
|
|||||||
|
|
||||||
## 设置 TZ 时区
|
## 设置 TZ 时区
|
||||||
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖
|
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖
|
||||||
ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms512m -Xmx512m"
|
ENV TZ=Asia/Shanghai
|
||||||
|
ENV JAVA_OPTS="-Xms512m -Xmx512m"
|
||||||
|
ENV SW_AGENT_HOME=/opt/skywalking/agent
|
||||||
|
ENV SW_AGENT_NAME=zt-module-bpm-server
|
||||||
|
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES=172.16.46.63:30201
|
||||||
|
ENV AGENT_JAVA_OPTS="-javaagent:${SW_AGENT_HOME}/skywalking-agent.jar -Dskywalking.agent.service_name=${SW_AGENT_NAME} -Dskywalking.collector.backend_service=${SW_AGENT_COLLECTOR_BACKEND_SERVICES}"
|
||||||
|
|
||||||
## 暴露后端项目的 48080 端口
|
## 暴露后端项目的 48080 端口
|
||||||
EXPOSE 48083
|
EXPOSE 48083
|
||||||
|
|
||||||
## 启动后端项目
|
## 启动后端项目
|
||||||
CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar
|
CMD java ${AGENT_JAVA_OPTS} ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar
|
||||||
|
|||||||
@@ -36,12 +36,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zt.plat</groupId>
|
<groupId>com.zt.plat</groupId>
|
||||||
<artifactId>zt-module-capital-api</artifactId>
|
<artifactId>zt-module-capital-api</artifactId>
|
||||||
<version>${business.supply.version}</version>
|
<version>${business.capital.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zt.plat</groupId>
|
<groupId>com.zt.plat</groupId>
|
||||||
<artifactId>zt-module-product-api</artifactId>
|
<artifactId>zt-module-product-api</artifactId>
|
||||||
<version>${business.mes.version}</version>
|
<version>${business.product.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zt.plat</groupId>
|
<groupId>com.zt.plat</groupId>
|
||||||
|
|||||||
@@ -141,8 +141,8 @@ zt:
|
|||||||
exclude-urls: # 如下 url,仅仅是为了演示,去掉配置也没关系
|
exclude-urls: # 如下 url,仅仅是为了演示,去掉配置也没关系
|
||||||
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
|
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
|
||||||
swagger:
|
swagger:
|
||||||
title: 管理后台
|
title: Bpm 模块
|
||||||
description: 提供管理员管理的所有功能
|
description: 提供 Bpm 管理的所有功能
|
||||||
version: ${zt.info.version}
|
version: ${zt.info.version}
|
||||||
tenant: # 多租户相关配置项
|
tenant: # 多租户相关配置项
|
||||||
enable: true
|
enable: true
|
||||||
|
|||||||
Reference in New Issue
Block a user