Browse Source

修改启动参数

master
wangjx 3 years ago
parent
commit
0d04ff1720
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -7,5 +7,5 @@ ENV TimeZone=Asia/Shanghai
ENV active=dev ENV active=dev
ENV JAVA_OPTS="-Xmx512M -Xms512M" ENV JAVA_OPTS="-Xmx512M -Xms512M"
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone 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

Loading…
Cancel
Save