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

Commit 216fdfaa authored by wangyifan's avatar wangyifan

client-job 容器化

parent 271e31f0
......@@ -6,4 +6,4 @@ 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
ENTRYPOINT ["java", "-jar", "/liquidnet-client-job.jar"]
\ No newline at end of file
......@@ -2,4 +2,14 @@ spring:
application:
name: liquidnet-client-job
profiles:
active: dev
\ No newline at end of file
include: client-job
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