Skip to content

Commit

Permalink
doc(nacos): 默认配置链接数据库属性修改为最新spring属性
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Oct 10, 2024
1 parent 772eccc commit 1832ebf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pig-register/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ nacos:
spring:
application:
name: @project.artifactId@
datasource:
platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码
security:
enabled: true
boot: # 接入 spring boot admin
Expand All @@ -43,6 +41,9 @@ spring:
password: pig
instance:
service-host-type: ip
sql:
init:
platform: mysql

useAddressServer: true

Expand Down

0 comments on commit 1832ebf

Please sign in to comment.