hn_cloud_service/hn-gateway/bonus-gateway/src/main/resources/bootstrap-dev.yml

36 lines
1003 B
YAML
Raw Normal View History

2025-11-27 17:01:07 +08:00
# Tomcat
server:
port: 42880
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 192.168.0.14:18848
2025-12-05 15:40:36 +08:00
namespace: 7c801fed-8b1c-4e57-8099-fe4e5e2b6b64
2025-11-27 17:01:07 +08:00
config:
# 配置中心地址
server-addr: 192.168.0.14:18848
2025-12-05 15:40:36 +08:00
namespace: 7c801fed-8b1c-4e57-8099-fe4e5e2b6b64
2025-11-27 17:01:07 +08:00
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
sentinel:
# 取消控制台懒加载
eager: true
transport:
# 控制台地址
2025-12-05 10:08:18 +08:00
dashboard: 192.168.0.14:18848
2025-11-27 17:01:07 +08:00
# nacos配置持久化
datasource:
ds1:
nacos:
server-addr: 192.168.87.190:8848
namespace: e9abf140-675a-4d55-af3f-1f28a6186904
dataId: sentinel-bonus-gateway
groupId: DEFAULT_GROUP
data-type: json
rule-type: gw-flow