Browse Source

1.修改basic的dockerfile

newStockUp
pref_mail@163.com 2 years ago
parent
commit
0ba13ee6cf
  1. 9
      blade-service/logpm-basic/Dockerfile
  2. 2
      blade-service/logpm-factory/src/main/resources/application.yml

9
blade-service/logpm-basic/Dockerfile

@ -1,15 +1,14 @@
FROM bladex/alpine-java:openjdk8-openj9_cn_slim FROM bladex/alpine-java:openjdk8-openj9_cn_slim
MAINTAINER bladejava@qq.com MAINTAINER h5u@163.com
RUN mkdir -p /blade/auth RUN mkdir -p /logpm/factory
WORKDIR /blade/auth WORKDIR /logpm/factory
EXPOSE 8100 EXPOSE 8200
ADD ./target/logpm-basic.jar ./app.jar ADD ./target/logpm-basic.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"] CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-factory/src/main/resources/application.yml

@ -41,7 +41,7 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: http://127.0.0.1:7009/xxl-job-admin addresses: http://192.168.2.110:7009/xxl-job-admin
executor: executor:
appname: logpm-factory-xxljob appname: logpm-factory-xxljob
ip: 127.0.0.1 ip: 127.0.0.1

Loading…
Cancel
Save