Ver código fonte

修改启动参数

master
wangjx 3 anos atrás
pai
commit
0d04ff1720
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile Ver arquivo

@@ -7,5 +7,5 @@ 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
EXPOSE 8098
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
#EXPOSE 8098
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 /sentinel_dashboard.jar --spring.profiles.active=$active

Carregando…
Cancelar
Salvar