-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-dev.yml
39 lines (37 loc) · 993 Bytes
/
config-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
spring:
#数据源配置
datasource:
url: jdbc:mysql://localhost:3306/test?characterEncoding=utf-8
username: root
#password: root
password: aaa
driverClassName: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
initialSize: 5
minIdle: 5
maxActive: 20
maxWait: 60000
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: true
testOnReturn: false
poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20
filters: stat,wall,log4j
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis= 500
redis:
host: redis://172.16.1.73
port: 6379
rabbitmq:
host: 127.0.0.1
port: 5672
username: guest
password: guest
learn:
desc: hello world
eureka:
instance:
leaseRenewalIntervalInSeconds: 10
leaseExpirationDurationInSeconds: 30