From 3fcbed563c8ec83f8610943690428ced7f622bfc Mon Sep 17 00:00:00 2001 From: williamsun <1120sungang@gmail.com> Date: Fri, 18 Sep 2020 18:33:49 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20Fixing=20a=20bug.=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20sentinel=20admin=20=E6=9C=8D=E5=8A=A1=E7=AB=AF=E5=8F=A3=2050?= =?UTF-8?q?03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pig-visual/pig-sentinel-dashboard/Dockerfile | 4 ++-- .../src/main/resources/application.yml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pig-visual/pig-sentinel-dashboard/Dockerfile b/pig-visual/pig-sentinel-dashboard/Dockerfile index 9a964686..f2c5b198 100644 --- a/pig-visual/pig-sentinel-dashboard/Dockerfile +++ b/pig-visual/pig-sentinel-dashboard/Dockerfile @@ -10,8 +10,8 @@ RUN mkdir -p /pig-sentinel-dashboard WORKDIR /pig-sentinel-dashboard -EXPOSE 5020 +EXPOSE 5003 ADD ./target/pig-sentinel-dashboard.jar ./ -CMD sleep 120;java $JAVA_OPTS -jar pig-sentinel-dashboard.jar +CMD sleep 60;java $JAVA_OPTS -jar pig-sentinel-dashboard.jar diff --git a/pig-visual/pig-sentinel-dashboard/src/main/resources/application.yml b/pig-visual/pig-sentinel-dashboard/src/main/resources/application.yml index d85b338e..ec08852d 100755 --- a/pig-visual/pig-sentinel-dashboard/src/main/resources/application.yml +++ b/pig-visual/pig-sentinel-dashboard/src/main/resources/application.yml @@ -1,10 +1,9 @@ server: - port: 5020 - -spring: - http: + port: 5003 + servlet: encoding: force: true + logging: level: org: