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

Commit a77c23d3 authored by wangyifan's avatar wangyifan

client-job 容器化

parent 05d767a3
FROM registry.cn-beijing.aliyuncs.com/zhengzai-base/jdk:8u302
# 设置时区为中国标准时间 (CST)
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/liquidnet-client-job.jar /
EXPOSE 8090
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-jar", "/liquidnet-client-job.jar"]
\ No newline at end of file
...@@ -10,9 +10,9 @@ spring: ...@@ -10,9 +10,9 @@ spring:
cloud: cloud:
config: config:
# uri: http://127.0.0.1:7002/support-config # uri: http://127.0.0.1:7002/support-config
# uri: http://39.107.71.112:7002/support-config uri: http://47.95.156.91:7002/support-config
profile: ${liquidnet.cloudConfig.profile} # profile: ${liquidnet.cloudConfig.profile}
name: ${spring.application.name} #默认为spring.application.name # name: ${spring.application.name} #默认为spring.application.name
discovery: # discovery:
enabled: true # enabled: true
service-id: liquidnet-support-config # service-id: liquidnet-support-config
\ No newline at end of file \ No newline at end of file
...@@ -6,7 +6,7 @@ liquidnet: ...@@ -6,7 +6,7 @@ liquidnet:
username: user username: user
password: user123 password: user123
eureka: eureka:
host: 172.17.207.177:7001 host: 47.95.156.91:7001
# end-test-这里是配置信息基本值 # end-test-这里是配置信息基本值
spring: 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