mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
按不同环境展示标题,更好区分环境
This commit is contained in:
18
ruoyi-auth/src/main/resources/bootstrap-local.yml
Normal file
18
ruoyi-auth/src/main/resources/bootstrap-local.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
namespace: local
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
34
ruoyi-gateway/src/main/resources/bootstrap-local.yml
Normal file
34
ruoyi-gateway/src/main/resources/bootstrap-local.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
|
sentinel:
|
||||||
|
# 取消控制台懒加载
|
||||||
|
eager: true
|
||||||
|
transport:
|
||||||
|
# 控制台地址
|
||||||
|
dashboard: 127.0.0.1:8718
|
||||||
|
# nacos配置持久化
|
||||||
|
datasource:
|
||||||
|
ds1:
|
||||||
|
nacos:
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
dataId: sentinel-ruoyi-gateway
|
||||||
|
groupId: DEFAULT_GROUP
|
||||||
|
data-type: json
|
||||||
|
rule-type: flow
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.1.211:30006
|
||||||
|
namespace: local
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-local.yml
|
||||||
Reference in New Issue
Block a user