bootstrap.yml 847 Bytes
Newer Older
苗卫卫 committed
1 2 3 4 5 6 7 8 9
server:
  port: 30350

#nacos相关参数通过环境变量带入
spring:
  application:
    name: nbd-wios-manage
    zhname: 开迈斯WIOS服务
  cloud:
苗卫卫 committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#    nacos:
#      discovery:
#        server-addr: 10.12.1.17:8848
#        namespace: ce18ccbc-e054-45ad-893f-ed7ebee1704b
#      config:
#        server-addr: 10.12.1.17:8848
#        namespace: ce18ccbc-e054-45ad-893f-ed7ebee1704b
#        shared-configs[0].data-id: constant.yml
#        shared-configs[0].group: DEFAULT_GROUP
#        shared-configs[0].refresh: true
#        file-extension: yml  #指定配置中心中对应的配置文件的格式
#        enabled: true
#    config:
#      enabled: false

苗卫卫 committed
25 26
    nacos:
      config:
苗卫卫 committed
27 28 29 30 31
        enabled: false
        refresh-enabled: false
      discovery:
        enabled: false
        instance-enabled: false
苗卫卫 committed
32 33
  jta:
    enabled: false