LLiZongbodruid-admin
32f2e26f创建于 2024年5月12日历史提交
server:
  port: 19999
spring:
  application:
    name: druid-admin
  main:
    allow-bean-definition-overriding: true
  cloud:
    consul:
      enabled: false
      host: localhost
      port: 8500
      discovery:
        enable: true
        hostname: ${spring.cloud.client.ip-address}
        instance-id: ${spring.application.name}:${vcap.application.instance_id:${spring.application.instance_id:${random.value}}}
        instance-zone: zone1
    nacos:
      discovery:
        enabled: false
        server-addr: localhost:8848
eureka:
  instance:
    preferIpAddress: true
    ipAddress: localhost
    instance-id: ${eureka.instance.ipAddress}:${server.port}:${spring.application.name}
  client:
    serviceUrl:
      defaultZone: http://localhost:8761/eureka/
    enabled: false

monitor:
  applications: #需要监控的服务名spring.application.name
    - a
    - b
  login-username: admin #监控页面的登录用户名和密码
  login-password: 123456
  kube-config-file-path:  # k8s集群访问凭证,相对路径,默认resources目录
  k8s-namespace:  # k8s集群命名空间