From 25743c6a127a76503dc8b5285cfdd00723a375e6 Mon Sep 17 00:00:00 2001 From: shiyiyue1102 Date: Thu, 18 Jul 2024 20:12:22 +0800 Subject: [PATCH] 34567 --- .../src/main/resources/application.properties | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/console/src/main/resources/application.properties b/console/src/main/resources/application.properties index a3629d9118e..a7a41c3d415 100644 --- a/console/src/main/resources/application.properties +++ b/console/src/main/resources/application.properties @@ -33,14 +33,14 @@ server.port=8848 ### Deprecated configuration property, it is recommended to use `spring.sql.init.platform` replaced. # spring.datasource.platform=mysql # nacos.plugin.datasource.log.enabled=true -#spring.sql.init.platform=mysql +spring.sql.init.platform=derby ### Count of DB: -# db.num=1 +db.num=1 ### Connect URL of DB: -# db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC -# db.user=nacos -# db.password=nacos +db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC +db.user=root +db.password=11021102 ### the maximum retry times for push nacos.config.push.maxRetryTime=50 @@ -113,7 +113,7 @@ nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/ nacos.core.auth.system.type=nacos ### If turn on auth system: -nacos.core.auth.enabled=false +nacos.core.auth.enabled=true ### Turn on/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay. nacos.core.auth.caching.enabled=true @@ -123,8 +123,8 @@ nacos.core.auth.enable.userAgentAuthWhite=false ### Since 1.4.1, worked when nacos.core.auth.enabled=true and nacos.core.auth.enable.userAgentAuthWhite=false. ### The two properties is the white list for auth and used by identity the request from other server. -nacos.core.auth.server.identity.key= -nacos.core.auth.server.identity.value= +nacos.core.auth.server.identity.key=servr123 +nacos.core.auth.server.identity.value=servr123value ### worked when nacos.core.auth.system.type=nacos ### The token expiration in seconds: @@ -132,7 +132,7 @@ nacos.core.auth.plugin.nacos.token.cache.enable=false nacos.core.auth.plugin.nacos.token.expire.seconds=18000 ### The default token (Base64 string): #nacos.core.auth.plugin.nacos.token.secret.key=SecretKey012345678901234567890123456789012345678901234567890123456789 -nacos.core.auth.plugin.nacos.token.secret.key= +nacos.core.auth.plugin.nacos.token.secret.key=key12345key12345key12345SecretKey012345678901234567890123456789012345678901234567890123456789 ### worked when nacos.core.auth.system.type=ldap,{0} is Placeholder,replace login username #nacos.core.auth.ldap.url=ldap://localhost:389