|
@@ -1,6 +1,8 @@
|
|
spring:
|
|
spring:
|
|
|
|
+ main:
|
|
|
|
+ allow-bean-definition-overriding: true
|
|
datasource:
|
|
datasource:
|
|
- url: jdbc:mysql://127.0.0.1:3306/webchat_user?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8
|
|
|
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/webchat_user?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8&allowPublicKeyRetrieval=true
|
|
username: root
|
|
username: root
|
|
password: 12345678
|
|
password: 12345678
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
@@ -12,10 +14,15 @@ spring:
|
|
redis:
|
|
redis:
|
|
host: 127.0.0.1
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
port: 6379
|
|
- database: 0
|
|
|
|
|
|
+ database: 6
|
|
jedis:
|
|
jedis:
|
|
timeout: 5000
|
|
timeout: 5000
|
|
pool:
|
|
pool:
|
|
max-active: 100
|
|
max-active: 100
|
|
max-wait: -1
|
|
max-wait: -1
|
|
- min-idle: 10
|
|
|
|
|
|
+ min-idle: 10
|
|
|
|
+
|
|
|
|
+rocketmq:
|
|
|
|
+ producer:
|
|
|
|
+ group: web_chat
|
|
|
|
+ name-server: 127.0.0.1:9876
|