|
|
@@ -22,13 +22,13 @@ spring:
|
|
22
|
22
|
datasource:
|
|
23
|
23
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
24
|
24
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
25
|
|
- url: jdbc:mysql://121.40.189.20:3306/onlyoffice?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
|
25
|
+ url: jdbc:mysql://121.40.189.20:3306/onlyoffice_test?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
26
|
26
|
username: root
|
|
27
|
27
|
password: YMzc157#
|
|
28
|
28
|
redis:
|
|
29
|
29
|
host: 121.40.189.20
|
|
30
|
30
|
port: 6389
|
|
31
|
|
- database: 0
|
|
|
31
|
+ database: 1
|
|
32
|
32
|
|
|
33
|
33
|
mybatis-plus:
|
|
34
|
34
|
# global-config:
|
|
|
@@ -45,13 +45,29 @@ spring:
|
|
45
|
45
|
config:
|
|
46
|
46
|
activate:
|
|
47
|
47
|
on-profile: dev
|
|
48
|
|
-filepath: C:/onlyoffice/data/files
|
|
49
|
|
-serverhost: http://172.16.0.254
|
|
|
48
|
+ datasource:
|
|
|
49
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
50
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
51
|
+ url: jdbc:mysql://121.40.189.20:3306/onlyoffice_test?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
|
52
|
+ username: root
|
|
|
53
|
+ password: YMzc157#
|
|
|
54
|
+filepath: /home/ruoyi/uploadPath/onlyoffice/data/files
|
|
|
55
|
+serverhost: http://121.40.189.20
|
|
50
|
56
|
---
|
|
51
|
57
|
#生产环境属性配置
|
|
52
|
58
|
spring:
|
|
53
|
59
|
config:
|
|
54
|
60
|
activate:
|
|
55
|
61
|
on-profile: prod
|
|
56
|
|
-filepath: /onlyoffice/data/files
|
|
|
62
|
+ redis:
|
|
|
63
|
+ host: 121.40.189.20
|
|
|
64
|
+ port: 6389
|
|
|
65
|
+ database: 0
|
|
|
66
|
+ datasource:
|
|
|
67
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
68
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
69
|
+ url: jdbc:mysql://121.40.189.20:3306/onlyoffice?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
|
70
|
+ username: root
|
|
|
71
|
+ password: YMzc157#
|
|
|
72
|
+filepath: /home/ruoyi/uploadPath/onlyoffice/data/files
|
|
57
|
73
|
serverhost: http://121.40.189.20
|