This commit is contained in:
zhoudi
2025-06-16 19:20:45 +08:00
committed by 陈博文
parent b75ad892a3
commit 4bc437df5f
24 changed files with 1337 additions and 4 deletions

View File

@@ -3,11 +3,12 @@
spring:
cloud:
nacos:
server-addr: 172.16.46.63:30848 # Nacos 服务器地址
# server-addr: 172.16.46.63:30848 # Nacos 服务器地址
server-addr: 120.26.250.247:8848 # Nacos 服务器地址
username: # Nacos 账号
password: # Nacos 密码
discovery: # 【配置中心】配置项
namespace: local # 命名空间。这里使用 dev 开发环境
namespace: dev # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布

View File

@@ -3,7 +3,7 @@ spring:
name: infra-server
profiles:
active: dev
active: local
main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。