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
| 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
|
| boot:
| admin:
| notify:
| mail:
| from: china365days@163.com
| to: 4345453@kidgrow.com
| mail:
| host: smtp.163.com
| password: adflks888
| properties:
| mail:
| smtp:
| auth: true
| starttls:
| enable: true
| required: true
| username: china365days@163.com
|
|