forked from kidgrow-microservices-platform

zxh
2020-08-21 db2412261a825653ca9eccc1fca0569f6745f1d7
kidgrow-springcloud/kidgrow-springcloud-monitor/kidgrow-springcloud-monitor-admin/src/main/resources/application.yml
@@ -8,6 +8,8 @@
    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}
@@ -20,6 +22,27 @@
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:
@@ -28,23 +51,3 @@
  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