-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
68 lines (63 loc) · 1.44 KB
/
application.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
spring:
profiles:
active: dev
security:
jwt:
signingKey: 3fdrew24wwerwr234234
expire: 3600000
boot:
admin:
client:
enabled: true
cloud:
discovery:
enabled: false
zipkin:
baseUrl: ${ZIPKIN_URL:http://localhost:9411}
redis:
host: ${REDIS_HOST:localhost}
port: 6379
# Redis 数据库索引(默认为 0)
database: 0
# Redis 服务器连接端口
# Redis 服务器连接密码(默认为空)
password:
#连接池最大连接数(使用负值表示没有限制)
jedis:
pool:
max-active: 8
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 连接池中的最大空闲连接
max-idle: 8
# 连接池中的最小空闲连接
min-idle: 0
# 连接超时时间(毫秒)
timeout: 0
eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL:http://localhost:8761/eureka}
enabled: true
register-with-eureka: true
instance:
leaseRenewalIntervalInSeconds: 10
health-check-url-path: /actuator/health
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: ALWAYS
message: hello test application.yml
user:
ribbon:
listOfServers: http://localhost:8002
product:
ribbon:
listOfServers: http://localhost:8001
auth:
ribbon:
listOfServers: http://localhost:9000