Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-package / src / main / resources / bootstrap.yml
@yanghui yanghui on 23 May 866 bytes 配置文件提交
# Tomcat
server:
  port: 8343

# Spring
spring:
  application:
    # 应用名称
    name: newfiber-termite
  profiles:
    # 环境配置
    active: dev
  cloud:
    nacos:
      discovery:
        # 服务注册地址
        server-addr: 192.168.16.99:8848
        namespace: newfiber-termite
        #        server-addr: 118.24.129.71:8848
        #        namespace: newfiber-termite
      config:
        # 配置中心地址
        server-addr: 192.168.16.99:8848
        namespace: newfiber-termite
        #        server-addr: 118.24.129.71:8848
        #        namespace: newfiber-termite
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

#logging:
#  level:
#    com.newfiber.drainage.mapper: DEBUG