application.yml
3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
spring:
application:
name: fw-hermes
attachment:
invoker-system: hermes
cache:
locker:
key-prefix: 'hermes:locker:'
custom:
global-prefix: 'hermes'
cloud:
nacos:
discovery:
server-addr: 192.168.0.230:8848
datasource:
driver-class-name: com.mysql.jdbc.Driver
hikari:
connection-test-query: SELECT 1 FROM DUAL
password: mysql@pwd123
url: jdbc:mysql://192.168.0.234:3306/fw_hermes?characterEncoding=UTF-8&useSSL=false
username: root
jackson:
default-property-inclusion: non_null
serialization:
write-dates-as-timestamps: true
time-zone: GMT+8
main:
allow-bean-definition-overriding: true
profiles:
active: cache,${activatedProfiles}
redis:
host: 192.168.0.234
lettuce:
pool:
max-active: 20
max-wait: 1S
min-idle: 3
port: 6379
database: 4
rest-result-processor:
enabled: false
servlet:
multipart:
enabled: true
max-file-size: 50MB
max-request-size: 100MB
auth:
aes:
key: bN7DVjFMJPcoWDcR
ignore:
start-with: /user/*,/role/*,/user/login
file:
prefix: https://testimg.feewee.cn/
hystrix:
command:
default:
circuitBreaker:
forceClosed: true
sleepWindowInMilliseconds: 100000
execution:
isolation:
thread:
timeoutInMilliseconds: 3000
shareSecurityContext: true
info:
build:
artifact: ${project.artifactId}
description: ${project.description}
groupId: ${project.groupId}
name: ${project.name}
version: ${project.version}
jedis:
pool:
config:
max-active: 30
max-idle: 5
max-wait-millis: 1000
min-idle: 3
test-on-borrow: false
test-on-return: false
test-while-idle: true
host: 192.168.0.8
port: 6379
db: 4
mybatis-plus:
configuration:
cache-enabled: false
local-cache-scope: statement
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
map-underscore-to-camel-case: true
mapper-locations: classpath*:mapper/*.xml
type-aliases-package: cn.fw.data.base.db,cn.fw.common.attachment.domain
type-enums-package: cn.fw.hermes.domain.enums.**,cn.fw.hermes.sdk.api.enums.**
type-handlers-package: cn.fw.common.data.mybatis.handler
nacos:
server-addr: 192.168.0.230:8848
ribbon:
ConnectTimeout: 30000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 0
ReadTimeout: 120000
rocketmq:
name-server: 192.168.0.234:9876
producer:
group: ${spring.application.name}
server:
port: 8009
undertow:
worker-threads: 50
management:
endpoints:
web:
exposure:
include: '*'
# 监控路径前缀
base-path: /actuator
endpoint:
# 开启允许远程shutdown,通过post请求。
shutdown:
enabled: true
health:
show-details: always
metrics:
tags:
application: ${spring.application.name}
task:
switch: 'on'
im:
sdkappid: 1400138769
admin-account: admin
key:
pri-key: -----BEGIN PRIVATE KEY-----#
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgNSXMWOlbZbISA7ao#
ffWIgdhZrga+OxWpWb4va+cpU7uhRANCAARiOJEFoLZ9VS5hcBAAgkW3sJw2K/+0#
8imbVQ1pd5vGsV1NgnGUl3LR3869APi0vE8vP9d/8LsZl3CEh8hVkXio#
-----END PRIVATE KEY-----
pub-key: -----BEGIN PUBLIC KEY-----#
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYjiRBaC2fVUuYXAQAIJFt7CcNiv/#
tPIpm1UNaXebxrFdTYJxlJdy0d/OvQD4tLxPLz/Xf/C7GZdwhIfIVZF4qA==#
-----END PUBLIC KEY-----
http_default_timeout: 2 #单位秒
http_default_content_type: application/json; charset=utf-8
http_default_accept: application/json
http_default_per_route: 32
http_max_per_route: 100
http_default_total_count: 200
http_default_keep_time: 15000