按环境

This commit is contained in:
wuyibo
2022-10-22 11:31:26 +08:00
parent 11608fba13
commit 1d64fad5a1
18 changed files with 248 additions and 125 deletions

View File

@@ -0,0 +1,18 @@
# Spring
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 192.168.1.211:30006
namespace: prod
config:
# 配置中心地址
server-addr: 192.168.1.211:30006
# 配置文件格式
file-extension: yml
namespace: prod
# 共享配置
shared-configs:
- application-prod.yml