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: