记得上下班打卡 | git大法好,push需谨慎

Commit 97afe723 authored by zhoujianping's avatar zhoujianping

1.order容器化

parent 2b2c949f
#FROM registry.cn-beijing.aliyuncs.com/zhengzai-base/jdk:8u302
FROM openjdk:8-jdk
# 设置时区为中国标准时间 (CST)
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/liquidnet-service-kylin-impl.jar /app/liquidnet-service-kylin-impl.jar
EXPOSE 9002
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-jar", "/app/liquidnet-service-kylin-impl.jar"]
......
#FROM registry.cn-beijing.aliyuncs.com/zhengzai-base/jdk:8u302
FROM openjdk:8-jdk
# 设置时区为中国标准时间 (CST)
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/liquidnet-service-order-impl.jar /app/liquidnet-service-order-impl.jar
EXPOSE 9004
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-jar", "/app/liquidnet-service-order-impl.jar"]
......@@ -11,8 +11,9 @@ spring:
config:
# uri: http://182.92.70.253:7002/support-config
# uri: http://39.107.71.112:7002/support-config
profile: ${liquidnet.cloudConfig.profile}
name: ${spring.application.name} #默认为spring.application.name
discovery:
enabled: true
service-id: liquidnet-support-config
uri: http://47.95.156.91:7002/support-config
# profile: ${liquidnet.cloudConfig.profile}
# name: ${spring.application.name} #默认为spring.application.name
# discovery:
# enabled: true
# service-id: liquidnet-support-config
......@@ -6,7 +6,7 @@ liquidnet:
username: user
password: user123
eureka:
host: 172.17.207.177:7001
host: 47.95.156.91:7001
# end-test-这里是配置信息基本值
spring:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment