forked from paascloud/paascloud-config-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application-dev.yml
139 lines (132 loc) · 2.96 KB
/
application-dev.yml
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
server:
tomcat:
uri-encoding: UTF-8
remote-ip-header: x-forwarded-for
use-forward-headers: true
management:
security:
enabled: false
spring:
aop:
proxy-target-class: true
auto: true
rabbitmq:
host: paascloud-mq-rabbit
port: 5672
username: guest
password: guest
redis:
host: paascloud-db-redis
password: paascloud@redis
port: 6379
timeout: 0
datasource:
driver-class-name: com.mysql.jdbc.Driver
filters: stat,wall
druid:
initial-size: 50
min-idle: 50
max-active: 100
test-on-borrow: true
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
web-stat-filter:
exclusions: '*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*'
stat-view-servlet:
allow:
login-username: admin
login-password: admin
mail:
host: smtp.163.com
username: [email protected]
password: a123456
port: 465
protocol: smtp
test-connection: false
default-encoding: UTF-8
properties:
mail:
debug: true
smtp:
auth: true
connectiontimeout: 10000
timeout: 10000
writetimeout: 10000
socketFactory:
class: javax.net.ssl.SSLSocketFactory
port: 465
starttls:
enable: true
required: true
boot:
admin:
username: admin
password: admin
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 0.2
feign:
hystrix:
enabled: true
client:
config:
default:
connectTimeout: 5000
readTimeout: 5000
ribbon:
eager-load:
enabled: true
MaxAutoRetries: 1
MaxAutoRetriesNextServer: 2
OkToRetryOnAllOperations: false
ConnectTimeout: 60000
ReadTimeout: 20000
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 20000
info:
软件著作权: paascloud快速搭建企业级分布式微服务平台
著作登记号: 2018SR320076
关于我们: http://paascloud.net
paascloud:
auth:
jwt:
expiredRemainMinutes: 20
expiredMinutes: 120
aliyun:
key:
accessKeyId: 'your aliyun accessKeyId'
accessKeySecret: 'your aliyun accessKeySecret'
rocketMq:
namesrvAddr: paascloud-mq-rocket:9876
sms:
signName: 快乐学习网
regionId: cn-beijing
endpoint:
endpointName: cn-beijing
product: 'your sms product'
domain: dysmsapi.aliyuncs.com
qiniu:
key:
accessKey: 'your qiniu accessKey'
secretKey: 'your qiniu secretKey'
oss:
privateHost: 'your qiniu oss private host'
publicHost: 'your qiniu oss public host'
alipay:
callback:
url: http://dev-api.paascloud.net/omc/pay/alipayCallback
qrCode:
pcPath: /data/file/qrCode/alipay
qiniuPath: alipay/QRCode/
zk:
zkAddressList: paascloud-provider-zk:2181