nacos配置恢复

This commit is contained in:
tianfeng 2026-03-24 18:09:28 +08:00
parent f31268bde8
commit cfca9f9606

View File

@ -5,6 +5,8 @@ spring:
name: @artifactId@ name: @artifactId@
cloud: cloud:
nacos: nacos:
username: ${NACOS_USERNAME:nacos}
password: ${NACOS_PASSWORD:nacos}
discovery: discovery:
server-addr: ${NACOS_HOST:127.0.0.1}:${NACOS_PORT:8848} server-addr: ${NACOS_HOST:127.0.0.1}:${NACOS_PORT:8848}
namespace: @register.namespace@ namespace: @register.namespace@