# Tomcat
server:
  port: 8001

swagger:
  enabled: true

# Spring
spring:
  application:
    # 应用名称
    name: gateway
  profiles:
    # 环境配置
    active: dev
  cloud:
    nacos:
      discovery:
        # 服务注册地址
        server-addr: 192.168.101.108:8848
        username: nacos
        password: nacos
        namespace: ${spring.profiles.active}
      config:
        # 配置中心地址
        server-addr: ${spring.cloud.nacos.discovery.server-addr}
        namespace: ${spring.profiles.active}
        file-extension: yaml
        shared-configs:
          - data-id: application-${spring.profiles.active}.yaml
            refresh: true


    sentinel:
      transport:
        dashboard: localhost:5000