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
| server:
| port: 8023
|
| #eureka
| eureka:
| instance:
| ###注册中心ip地址
| hostname: ${kidgrow.eureka.instance.hostname}
| instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
| prefer-ip-address: true
| client:
| serviceUrl:
| defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}
| #spring boot admin设置权限,故需要通过账号密码获取注册信息
| # instance:
| # metadata-map:
| # user.name: admin
| # user.password: 123456
|
| spring:
| application:
| name: admin
| management:
| endpoints:
| web:
| exposure:
| include: '*'
| endpoint:
| health:
| show-details: ALWAYS
|
|