修改nacos配置文件

This commit is contained in:
panbaolin 2026-05-08 09:57:12 +08:00
parent 9a0f00ab29
commit 433c04eea4

View File

@ -8,14 +8,15 @@ server:
directory: ../logs/accessLog
#basedir: ''
spring:
datasource:
platform: postgresql
sql:
init:
platform: postgresql
db:
num: 1
password:
'0': ${MYSQL-PWD:postgres}
url:
'0': jdbc:postgresql://${MYSQL-HOST:127.0.0.1}:${MYSQL-PORT:5432}/${MYSQL-DB:nacos}?tcpKeepAlive=true&reWriteBatchedInserts=true&ApplicationName=nacos_java
'0': jdbc:postgresql://${MYSQL-HOST:172.21.170.142}:${MYSQL-PORT:5432}/${MYSQL-DB:nacos}?tcpKeepAlive=true&reWriteBatchedInserts=true&ApplicationName=nacos_java
#'0': jdbc:postgresql://${MYSQL-HOST:172.21.50.118}:${MYSQL-PORT:5432}/${MYSQL-DB:nacos}?tcpKeepAlive=true&reWriteBatchedInserts=true&ApplicationName=nacos_java
user:
#'0': ${MYSQL-USER:temp}