bootstrap.yml 779 字节
Newer Older
Q
qinyingjie 已提交
1 2
#端口号
server:
Q
qinyingjie 已提交
3
  port: 8086
Q
qinyingjie 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

#断电打开
management:
  endpoint:
    health:
      show-details: always
  endpoints:
    jmx:
      exposure:
        include: '*'
    web:
      exposure:
        include: '*'
#spring配置
spring:
  application:
Q
qinyingjie 已提交
20
    name: nacos-server-sentinel-consumer
Q
qinyingjie 已提交
21 22 23 24 25 26 27 28 29 30
  profiles:
    active: dev
  cloud:
    nacos:
      discovery:
        server-addr: http://120.79.36.53:8848   #服务注册地址
      config:
        server-addr: http://120.79.36.53:8848   #配置中心地址
        file-extension: yaml    #文件类型
        group: DEV_GROUP   #组别
31
        namespace: 4cd9bd32-8f25-45cd-b919-df1a0df146e0   #命名空间
Q
qinyingjie 已提交
32 33 34
        refresh-enabled: true  #默认自动刷新
    sentinel:
      transport:
Q
qinyingjie 已提交
35
        dashboard: 120.79.36.53:8181