修改配置文件,修改Dockerfile
This commit is contained in:
parent
875497678e
commit
f5694d4d5c
@ -3,11 +3,6 @@ ARG JAR_FILE=/target/*.jar
|
|||||||
COPY ${JAR_FILE} smart-city-usercenter.jar
|
COPY ${JAR_FILE} smart-city-usercenter.jar
|
||||||
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/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
|
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
server:
|
server:
|
||||||
port: 7011
|
port: 7011
|
||||||
ip: 1.24.238.149
|
ip: 1.24.238.149
|
||||||
url: http://${server.ip}:37210/usercenter
|
url: http://1.24.238.149:37210/usercenter
|
||||||
system-title: 统一用户管理系统
|
system-title: 统一用户管理系统
|
||||||
system-sub-title: 智慧城市
|
system-sub-title: 智慧城市
|
||||||
default-index-page: route/custom/index
|
default-index-page: route/custom/index
|
||||||
@ -135,7 +135,7 @@ sms:
|
|||||||
verification-code: '{sign} 您的验证码为 {content}, 有效时间为120秒,若非本人操作,请忽略。'
|
verification-code: '{sign} 您的验证码为 {content}, 有效时间为120秒,若非本人操作,请忽略。'
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
enable-api-log: true
|
enable-api-log: false
|
||||||
file:
|
file:
|
||||||
name: /project/logs/usercenter-logs.log
|
name: /project/logs/usercenter-logs.log
|
||||||
level:
|
level:
|
||||||
|
Loading…
Reference in New Issue
Block a user