43 lines
992 B
YAML
Raw Normal View History

2021-07-30 16:39:40 +08:00
# Tomcat
server:
port: 8080
# Spring
spring:
application:
# 应用名称
name: ruoyi-gateway
profiles:
# 环境配置
active: dev
main:
allow-bean-definition-overriding: true
cloud:
nacos:
discovery:
# 服务注册地址
2021-12-13 11:37:11 +08:00
server-addr: 172.31.183.135:8848
2021-07-30 16:39:40 +08:00
config:
# 配置中心地址
2021-12-13 11:37:11 +08:00
server-addr: 172.31.183.135:8848
2021-07-30 16:39:40 +08:00
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
sentinel:
# 取消控制台懒加载
eager: true
transport:
# 控制台地址
2021-08-05 16:33:25 +08:00
dashboard: 127.0.0.1:8718
2021-07-30 16:39:40 +08:00
# nacos配置持久化
datasource:
ds1:
nacos:
2021-12-13 11:37:11 +08:00
server-addr: 172.31.183.135:8848
2021-07-30 16:39:40 +08:00
dataId: sentinel-ruoyi-gateway
groupId: DEFAULT_GROUP
data-type: json
rule-type: flow