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

Commit 43ce206c authored by wangyifan's avatar wangyifan

sweet 容器化

parent a77c23d3
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-service-sweet.jar /
EXPOSE 9008
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-jar", "/liquidnet-service-sweet.jar"]
...@@ -9,10 +9,10 @@ eureka: ...@@ -9,10 +9,10 @@ eureka:
spring: 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
...@@ -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