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

Commit 271e31f0 authored by wangyifan's avatar wangyifan

adam 容器化

parent 7a893028
......@@ -4,5 +4,5 @@ ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/liquidnet-service-adam-impl.jar /
EXPOSE 9001
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-jar", "/liquidnet-service-adam-impl.jar"]
ENTRYPOINT ["java", "-jar", "/liquidnet-service-adam-impl.jar"]
......@@ -2,4 +2,14 @@ spring:
application:
name: liquidnet-service-adam
profiles:
active: test
\ No newline at end of file
include: service-adam
active: ${ACTIVE:test}
liquidnet:
cloudConfig:
profile: k8s
security:
username: user
password: user123
eureka:
host: ${EUREKA_IP:127.0.0.1}:7001
\ No newline at end of file
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