Sfoglia il codice sorgente

添加启动参数

master
wangjx 3 anni fa
parent
commit
b658c16d97
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile Vedi File

@@ -7,4 +7,4 @@ ENV TimeZone=Asia/Shanghai
ENV active=dev
ENV JAVA_OPTS="-Xmx512M -Xms512M"
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /sentinel_dashboard.jar --spring.profiles.active=$active
ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -Dserver.port=7777 -Dcsp.sentinel.dashboard.server=localhost:7777 -Dproject.name=sentinel-dashboard -jar /sentinel_dashboard.jar --spring.profiles.active=$active

Loading…
Annulla
Salva