nacos yml配置

This commit is contained in:
zjf committed 2026-07-30 21:42:57 +08:00
1 parent 218ca53dd2
commit 66bedfc7f5
2 files changed
+2 -2

No files matched your search

@@ -7,7 +7,7 @@ server:
db:
num: 1
user: ${MYSQL_USER:pjcloudx}
password: ${MYSQL_PWD:Bsd#1799}
password: :Bsd#1799}
url:
0: jdbc:mysql://${MYSQL_HOST:rm-1fyg92tzhbt23g9hw.mysql.rds.inner.jhszwy.net}:${MYSQL_PORT:3306}/${MYSQL_DB:pjcloudx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
pool:
@@ -9,7 +9,7 @@ spring:
username: @nacos.username@
password: @nacos.password@
discovery:
server-addr: ${NACOS_HOST:pjcloud-register}:${NACOS_PORT:8848}
server-addr: ${NACOS_HOST:pjcloud-register}:${NACOS_PORT:18849}
config:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
config: