Browse Source

1.修改dockerfile

single_db
pref_mail@163.com 1 year ago
parent
commit
62ce37ca2d
  1. 2
      blade-gateway/Dockerfile
  2. 2
      blade-ops/blade-xxljob-admin/Dockerfile
  3. 2
      blade-service/logpm-aftersales/Dockerfile
  4. 2
      blade-service/logpm-basic/Dockerfile
  5. 2
      blade-service/logpm-basicdata/Dockerfile
  6. 4
      blade-service/logpm-distribution/Dockerfile
  7. 2
      blade-service/logpm-factory/Dockerfile
  8. 2
      blade-service/logpm-old-project/Dockerfile
  9. 2
      blade-service/logpm-patch/Dockerfile
  10. 2
      blade-service/logpm-trunkline/Dockerfile
  11. 2
      blade-service/logpm-warehouse/Dockerfile

2
blade-gateway/Dockerfile

@ -10,6 +10,6 @@ EXPOSE 9999
ADD ./target/blade-gateway.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"]
CMD ["--spring.profiles.active=dev"]

2
blade-ops/blade-xxljob-admin/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 7009
ADD ./target/blade-xxljob-admin.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-aftersales/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 6000
ADD ./target/logpm-aftersales.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-basic/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8300
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", "-Xms128m","-Xmx512m","app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-basicdata/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8400
ADD ./target/logpm-basicdata.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "-Xms128m","-Xmx512m","app.jar"]
CMD ["--spring.profiles.active=test"]

4
blade-service/logpm-distribution/Dockerfile

@ -10,5 +10,7 @@ EXPOSE 8600
ADD ./target/logpm-distribution.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENV JAVA_OPTS="-Xms512m -Xmx1024m"
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "-Xms128m","-Xmx512m","app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-factory/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8200
ADD ./target/logpm-factory.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-old-project/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8500
ADD ./target/logpm-old-project.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m" "app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-patch/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 19000
ADD ./target/logpm-patch.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m" ,"app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-trunkline/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8700
ADD ./target/logpm-trunkline.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "-Xms128m","-Xmx512m","app.jar"]
CMD ["--spring.profiles.active=test"]

2
blade-service/logpm-warehouse/Dockerfile

@ -10,5 +10,5 @@ EXPOSE 8800
ADD ./target/logpm-warehouse.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "-Xms128m","-Xmx512m","app.jar"]
CMD ["--spring.profiles.active=test"]

Loading…
Cancel
Save