From f5694d4d5ca54ab19037e84df9ecda1b9ed009d1 Mon Sep 17 00:00:00 2001 From: WenG <450292408@qq.com> Date: Mon, 27 Dec 2021 22:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E4=BF=AE=E6=94=B9Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ----- src/main/resources/application-prod.yml | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4b51d8..5786604 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,6 @@ ARG JAR_FILE=/target/*.jar COPY ${JAR_FILE} smart-city-usercenter.jar ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/smart-city-usercenter.jar"] -ENV TZ 'Asia/Shanghai' -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 - # 时区问题 RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 18b6cf5..9d3e514 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,7 +1,7 @@ server: port: 7011 ip: 1.24.238.149 - url: http://${server.ip}:37210/usercenter + url: http://1.24.238.149:37210/usercenter system-title: 统一用户管理系统 system-sub-title: 智慧城市 default-index-page: route/custom/index @@ -135,7 +135,7 @@ sms: verification-code: '{sign} 您的验证码为 {content}, 有效时间为120秒,若非本人操作,请忽略。' logging: - enable-api-log: true + enable-api-log: false file: name: /project/logs/usercenter-logs.log level: