Showing
1 changed file
with
5 additions
and
5 deletions
@@ -5,13 +5,13 @@ LABEL maintainer="jimi.ji@yoho.cn" | @@ -5,13 +5,13 @@ LABEL maintainer="jimi.ji@yoho.cn" | ||
5 | 5 | ||
6 | # 执行需要修改的环境变量,不同的部署获取不同的值 | 6 | # 执行需要修改的环境变量,不同的部署获取不同的值 |
7 | ENV SPRING_PROFILES_ACTIVE prod | 7 | ENV SPRING_PROFILES_ACTIVE prod |
8 | -ENV XMX 1000M | ||
9 | -ENV XMS 1000M | 8 | +ENV XMX 1300M |
9 | +ENV XMS 1300M | ||
10 | # 打包的路径, | 10 | # 打包的路径, |
11 | -COPY start/target/yohomars.jar /opt/yohomars.jar | 11 | +COPY starter/target/yoho-datasync-producer.jar /opt/yoho-datasync-producer.jar |
12 | 12 | ||
13 | VOLUME /Data/logs/yoho-datasync-producer | 13 | VOLUME /Data/logs/yoho-datasync-producer |
14 | 14 | ||
15 | -EXPOSE 8072 | 15 | +EXPOSE 8080 |
16 | 16 | ||
17 | -CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yohomars.jar | ||
17 | +CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yoho-datasync-producer.jar |
-
Please register or login to post a comment