cqdevicemgt/sgzb-modules/sgzb-material/src/main/resources/bootstrap-sgzb_nw_dev.yml

42 lines
848 B
YAML

# Tomcat
server:
port: 49302
# Spring
spring:
cloud:
loadbalancer:
# 关闭Ribbon的负载均衡器
ribbon:
enabled: false
# 开启Nacos的负载均衡器
nacos:
enabled: true
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
namespace: sgzb_nwjj
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
namespace: sgzb_nwjj
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 禁用Actuator端点的未经身份验证的访问
management:
endpoint:
env:
enabled: false
sgzb:
site: nw
job:
settlementJobDay: 1
settlementJobCron: "0 0 1 1 * ?"