提交 | 用户 | 时间
|
d9f9ba
|
1 |
--- #################### 数据库相关配置 #################### |
H |
2 |
spring: |
|
3 |
autoconfigure: |
|
4 |
exclude: |
2fe27e
|
5 |
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
潘 |
6 |
# - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration |
|
7 |
# - de.codecentric.boot.admin.server.cloud.config.AdminServerDiscoveryAutoConfiguration |
|
8 |
# - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration |
|
9 |
# - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration |
d9f9ba
|
10 |
datasource: |
2fe27e
|
11 |
druid: |
d9f9ba
|
12 |
web-stat-filter: |
H |
13 |
enabled: true |
|
14 |
stat-view-servlet: |
|
15 |
enabled: true |
2fe27e
|
16 |
allow: |
d9f9ba
|
17 |
url-pattern: /druid/* |
2fe27e
|
18 |
login-username: |
d9f9ba
|
19 |
login-password: |
H |
20 |
filter: |
|
21 |
stat: |
|
22 |
enabled: true |
2fe27e
|
23 |
log-slow-sql: true |
d9f9ba
|
24 |
slow-sql-millis: 100 |
H |
25 |
merge-sql: true |
|
26 |
wall: |
|
27 |
config: |
|
28 |
multi-statement-allow: true |
2fe27e
|
29 |
dynamic: |
潘 |
30 |
druid: |
|
31 |
initial-size: 1 |
|
32 |
min-idle: 1 |
|
33 |
max-active: 20 |
|
34 |
max-wait: 600000 |
|
35 |
time-between-eviction-runs-millis: 60000 |
|
36 |
min-evictable-idle-time-millis: 300000 |
|
37 |
max-evictable-idle-time-millis: 900000 |
|
38 |
validation-query: SELECT 1 FROM DUAL |
d9f9ba
|
39 |
test-while-idle: true |
H |
40 |
test-on-borrow: false |
|
41 |
test-on-return: false |
|
42 |
primary: master |
|
43 |
datasource: |
|
44 |
master: |
2fe27e
|
45 |
url: jdbc:mysql://172.16.8.100:3306/iailab_plat_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
潘 |
46 |
# url: jdbc:mysql://127.0.0.1:3306/iailab-plat?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
|
47 |
# url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro |
|
48 |
# url: jdbc:oracle:thin:@127.0.0.1:1521:xe |
|
49 |
# url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro |
|
50 |
# url: jdbc:dm://10.211.55.4:5236?schema=RUOYI_VUE_PRO |
d9f9ba
|
51 |
username: root |
H |
52 |
password: 123456 |
2fe27e
|
53 |
# username: sa |
潘 |
54 |
# password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W |
|
55 |
# username: SYSDBA |
|
56 |
# password: SYSDBA |
|
57 |
slave: |
|
58 |
lazy: true |
|
59 |
url: jdbc:mysql://172.16.8.100:3306/iailab-plat?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
d9f9ba
|
60 |
username: root |
H |
61 |
password: 123456 |
|
62 |
|
|
63 |
redis: |
2fe27e
|
64 |
host: 172.16.8.100 |
潘 |
65 |
port: 6379 |
|
66 |
database: 0 |
|
67 |
password: 123456 |
d9f9ba
|
68 |
|
H |
69 |
--- #################### MQ 消息队列相关配置 #################### |
|
70 |
rocketmq: |
2fe27e
|
71 |
name-server: 172.16.8.100:9876 |
d9f9ba
|
72 |
|
H |
73 |
spring: |
|
74 |
rabbitmq: |
2fe27e
|
75 |
host: 172.16.8.200 |
潘 |
76 |
port: 5672 |
|
77 |
username: admin |
|
78 |
password: admin123 |
d9f9ba
|
79 |
|
2fe27e
|
80 |
kafka: |
潘 |
81 |
bootstrap-servers: 172.16.8.100:9092 |
|
82 |
|
d9f9ba
|
83 |
xxl: |
H |
84 |
job: |
2fe27e
|
85 |
enabled: false |
d9f9ba
|
86 |
admin: |
2fe27e
|
87 |
addresses: http://172.16.8.100:9090/xxl-job-admin |
d9f9ba
|
88 |
|
H |
89 |
lock4j: |
2fe27e
|
90 |
acquire-timeout: 3000 |
潘 |
91 |
expire: 30000 |
d9f9ba
|
92 |
|
H |
93 |
--- #################### 监控相关配置 #################### |
|
94 |
management: |
|
95 |
endpoints: |
|
96 |
web: |
2fe27e
|
97 |
base-path: /actuator |
d9f9ba
|
98 |
exposure: |
2fe27e
|
99 |
include: '*' |
d9f9ba
|
100 |
|
H |
101 |
spring: |
|
102 |
boot: |
|
103 |
admin: |
|
104 |
client: |
|
105 |
instance: |
2fe27e
|
106 |
service-host-type: IP |
潘 |
107 |
context-path: /admin |
d9f9ba
|
108 |
|
H |
109 |
logging: |
|
110 |
level: |
|
111 |
com.iailab.module.infra.dal.mysql: debug |
2fe27e
|
112 |
com.iailab.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO |
潘 |
113 |
com.iailab.module.infra.dal.mysql.file.FileConfigMapper: INFO |
d9f9ba
|
114 |
|
H |
115 |
iailab: |
2fe27e
|
116 |
env: |
d9f9ba
|
117 |
tag: ${HOSTNAME} |
H |
118 |
security: |
|
119 |
mock-enable: true |
2fe27e
|
120 |
access-log: |
d9f9ba
|
121 |
enable: false |