升级Spring Cloud Hoxton & Alibaba,认证授权改用Oauth2。

This commit is contained in:
macro
2020-08-15 10:51:40 +08:00
parent d004888a10
commit dae82f62ed
258 changed files with 4671 additions and 3092 deletions

View File

@@ -0,0 +1,14 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: root
elasticsearch:
rest:
uris: http://localhost:9200
logging:
level:
root: info
com.macro.mall: debug
logstash:
host: localhost

View File

@@ -0,0 +1,20 @@
spring:
datasource:
url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: reader
password: 123456
elasticsearch:
rest:
uris: http://es:9200
management:
health:
elasticsearch:
response-timeout: 1000ms #加大健康检查超时时间
logging:
file:
path: /var/logs
level:
root: info
com.macro.mall: info
logstash:
host: logstash