seninel部署
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

17 rindas
711B

  1. FROM java:8
  2. MAINTAINER king <1609724385@qq.com>
  3. VOLUME /tmp
  4. #EXPOSE 8098
  5. COPY sentinel-dashboard/target/sentinel-dashboard.jar app.jar
  6. COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
  7. ENV TimeZone=Asia/Shanghai
  8. ENV active=test
  9. ENV JAVA_OPTS="-Xmx512M -Xms512M"
  10. RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
  11. #EXPOSE 8098
  12. #ENTRYPOINT java $JAVA_OPTS -jar /core.jar --spring.profiles.active=$active
  13. ENTRYPOINT java $JAVA_OPTS -Dserver.port=8098 -Dcsp.sentinel.dashboard.server=$IP:8098 -Dproject.name=sentinel-dashboard -Dsentinel.dashboard.auth.username=telpo -Dsentinel.dashboard.auth.password=telpo#1234 -jar /app.jar --spring.profiles.active=$active