devicesmgt/sgzb-modules/sgzb-material/src/main/resources/bootstrap-sgzb_cloud_dev.yml

31 lines
776 B
YAML
Raw Normal View History

2024-08-21 14:01:52 +08:00
# Spring Boot Actuator V2中风险漏洞处理禁止远程端口访问
management:
endpoint:
env:
enabled: false
2023-11-30 20:15:53 +08:00
# Spring
2024-08-21 14:01:52 +08:00
spring:
2023-11-30 20:15:53 +08:00
cloud:
2024-08-21 14:01:52 +08:00
loadbalancer:
# 关闭Ribbon的负载均衡器
ribbon:
enabled: false
# 开启Nacos的负载均衡器
nacos:
enabled: true
2023-11-30 20:15:53 +08:00
nacos:
discovery:
# 服务注册地址
2023-12-12 17:31:15 +08:00
server-addr: 192.168.0.14:8848
2024-08-21 14:01:52 +08:00
namespace: sgzb_cloud_dev_nxjj
2023-11-30 20:15:53 +08:00
config:
# 配置中心地址
2023-12-12 17:31:15 +08:00
server-addr: 192.168.0.14:8848
2024-08-21 14:01:52 +08:00
namespace: sgzb_cloud_dev_nxjj
2023-11-30 20:15:53 +08:00
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}