13693261870
8 天以前 b8d62de41ff7e1e0549061308aa11f68cf881ed9
se-gateway/src/main/resources/bootstrap.yml
@@ -1,12 +1,14 @@
# Tomcat
server:
  port: 8080
  port: 8001
# Spring
spring: 
  application:
    # 应用名称
    name: se-gateway
  main:
    web-application-type: reactive
  profiles:
    # 环境配置
    active: dev
@@ -17,14 +19,19 @@
      discovery:
        # 服务注册地址
        server-addr: 127.0.0.1:8848
        group: JHS_GROUP
      config:
        group: JHS_GROUP
        # 配置中心地址
        server-addr: 127.0.0.1:8848
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
          - data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
            group: JHS_GROUP
        # 允许刷新
        refresh-enabled: true
    sentinel:
      # 取消控制台懒加载
      eager: true