| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Tomcat
- server:
- port: 8081
- # Spring
- spring:
- application:
- # 应用名称
- name: soc-gateway
- profiles:
- # 环境配置
- active: dev
- cloud:
- nacos:
- # username: nacos
- # password: nacos
- discovery:
- namespace: 4bb89334-98df-4ffc-904a-65bc848a8ea0
- # 服务注册地址
- server-addr: 10.87.23.48:8848
- config:
- namespace: 4bb89334-98df-4ffc-904a-65bc848a8ea0
- # 配置中心地址
- server-addr: 10.87.23.48:8848
- # 配置文件格式
- file-extension: yml
- # 共享配置
- shared-configs:
- - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
- sentinel:
- #取消控制台懒加载
- eager: true
- transport:
- dashboard: 10.87.10.54:8088
- datasource:
- ds1:
- nacos:
- server-addr: 10.87.23.48:8848
- dataId: sentinel-soc-gateway
- groupId: DEFAULT_GROUP
- data-type: json
- rule-type: gw-flow
- logging:
- file:
- name: logs/${spring.application.name}/info.log
|