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 leaseRenewalIntervalInSeconds: 10 health-check-url-path: /actuator/health client: serviceUrl: defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone} #spring boot admin设置权限,故需要通过账号密码获取注册信息 # instance: # metadata-map: # user.name: admin # user.password: 123456 spring: application: name: admin boot: admin: ui: title: KidgrowAdmin-Server notify: mail: from: 4345453@qq.com to: 64294050@kidgrow.com,4345453@kidgrow,1024030301@kidgrow.com mail: host: smtp.qq.com default-encoding: utf-8 username: 4345453@qq.com password: kqqgvhgskdrpbgia properties: mail: smtp: auth: true starttls: enable: true required: true management: endpoints: web: exposure: include: '*' endpoint: health: show-details: ALWAYS