nacos yml配置

This commit is contained in:
zjf committed 2026-07-30 17:21:54 +08:00
1 parent a857b1213c
commit 218ca53dd2
2 files changed
+4 -22

No files matched your search

@@ -1,15 +1,15 @@
server:
port: 8848
port: 18848
tomcat:
basedir: logs
error:
include-message: always
db:
num: 1
user: ${MYSQL_USER:root}
password: ${MYSQL_PWD:bsd.1799}
user: ${MYSQL_USER:pjcloudx}
password: ${MYSQL_PWD:Bsd#1799}
url:
0: jdbc:mysql://${MYSQL_HOST:pjcloud-mysql}:${MYSQL_PORT:2881}/${MYSQL_DB:pjcloudx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
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:
config:
connectionTimeout: 30000
@@ -28,24 +28,6 @@ nacos:
ignore:
urls: /actuator/**,/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**
spring:
datasource:
platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码
security:
enabled: true
boot: # 接入 spring boot admin
admin:
client:
url: http://pjcloud-monitor:5001
username: pig
password: pig
instance:
service-host-type: ip
application:
name: @project.artifactId@
useAddressServer: true
management:
endpoints:
web: