|
@@ -23,9 +23,9 @@ spring: |
|
@@ -23,9 +23,9 @@ spring: |
|
23
|
master:
|
23
|
master:
|
|
24
|
type: com.alibaba.druid.pool.DruidDataSource
|
24
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
25
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
25
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
26
|
- url: jdbc:mysql://127.0.0.1:3306/platform?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=GMT%2B8
|
26
|
+ url: jdbc:mysql://10.9.0.16:3307/platform?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=GMT%2B8
|
|
27
|
username: root
|
27
|
username: root
|
|
28
|
- password: password
|
28
|
+ password: qihua
|
|
29
|
druid:
|
29
|
druid:
|
|
30
|
initial-size: 10
|
30
|
initial-size: 10
|
|
31
|
min-idle: 10
|
31
|
min-idle: 10
|
|
@@ -42,13 +42,13 @@ spring: |
|
@@ -42,13 +42,13 @@ spring: |
|
42
|
#redis配置,这个redis用来缓存业务数据
|
42
|
#redis配置,这个redis用来缓存业务数据
|
|
43
|
redis:
|
43
|
redis:
|
|
44
|
#地址
|
44
|
#地址
|
|
45
|
- host: 127.0.0.1
|
45
|
+ host: 10.9.0.116
|
|
46
|
#端口,默认为6379
|
46
|
#端口,默认为6379
|
|
47
|
port: 6379
|
47
|
port: 6379
|
|
48
|
#数据库
|
48
|
#数据库
|
|
49
|
database: 0
|
49
|
database: 0
|
|
50
|
#密码
|
50
|
#密码
|
|
51
|
- password: password
|
51
|
+ password: 123456
|
|
52
|
#连接超时时间
|
52
|
#连接超时时间
|
|
53
|
timeout: 10s
|
53
|
timeout: 10s
|
|
54
|
lettuce:
|
54
|
lettuce:
|
|
@@ -63,10 +63,10 @@ spring: |
|
@@ -63,10 +63,10 @@ spring: |
|
63
|
max-wait: -1ms
|
63
|
max-wait: -1ms
|
|
64
|
#RabbitMQ配置
|
64
|
#RabbitMQ配置
|
|
65
|
rabbitmq:
|
65
|
rabbitmq:
|
|
66
|
- addresses: 127.0.0.1:5672 # RabbitMQ集群地址列表,多个地址用逗号分隔
|
66
|
+ addresses: 10.9.0.116:5672 # RabbitMQ集群地址列表,多个地址用逗号分隔
|
|
67
|
virtual-host: /
|
67
|
virtual-host: /
|
|
68
|
- username: username
|
|
|
|
69
|
- password: password
|
68
|
+ username: admin
|
|
|
|
69
|
+ password: 123456
|
|
70
|
connection-timeout: 60000 # 连接超时时间(毫秒),默认为60000毫秒(60秒)
|
70
|
connection-timeout: 60000 # 连接超时时间(毫秒),默认为60000毫秒(60秒)
|
|
71
|
ssl:
|
71
|
ssl:
|
|
72
|
enabled: false # 是否启用SSL,默认为false
|
72
|
enabled: false # 是否启用SSL,默认为false
|
|
@@ -112,4 +112,4 @@ jugg: |
|
@@ -112,4 +112,4 @@ jugg: |
|
112
|
#下载时的域名,一般情况下和公开上传的域名一致
|
112
|
#下载时的域名,一般情况下和公开上传的域名一致
|
|
113
|
domain: ${jugg.upload.domain}
|
113
|
domain: ${jugg.upload.domain}
|
|
114
|
# 上传文件的路径
|
114
|
# 上传文件的路径
|
|
115
|
- location: ${jugg.upload.location} |
|
|
|
|
|
115
|
+ location: ${jugg.upload.location} |