Revert "yaml文件去除nacos账号密码"

This reverts commit 9834302f98921f06c1efdc4b23a34823945143b8.
This commit is contained in:
tianfeng 2026-03-24 20:07:08 +08:00
parent 959cbe31f0
commit ca56c1170c
6 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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