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

#断电打开
management:
  endpoint:
    health:
      show-details: always
  endpoints:
    jmx:
      exposure:
        include: '*'
    web:
      exposure:
        include: '*'
#spring配置
spring:
  application:
    name: nacos-producer
  cloud:
    nacos:
      discovery:
Q
qinyingjie 已提交
24
        server-addr: http://120.79.36.53:8848   #服务注册地址
Q
qinyingjie 已提交
25
      config:
Q
qinyingjie 已提交
26 27 28 29
        server-addr: http://120.79.36.53:8848   #配置中心地址
        file-extension: yaml    #文件类型
        group: DEFAULT_GROUP   #组别
        namespace: public   #命名空间