Fix 2.1.1
This commit is contained in:
parent
f50766c477
commit
4f16131a4c
@ -12,8 +12,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
set -x
|
set -x
|
||||||
export CUSTOM_SEARCH_NAMES="application,custom"
|
export CUSTOM_SEARCH_NAMES="application"
|
||||||
export CUSTOM_SEARCH_LOCATIONS=${BASE_DIR}/init.d/,file:${BASE_DIR}/conf/
|
export CUSTOM_SEARCH_LOCATIONS=file:${BASE_DIR}/conf/
|
||||||
export MEMBER_LIST=""
|
export MEMBER_LIST=""
|
||||||
PLUGINS_DIR="/home/nacos/plugins/peer-finder"
|
PLUGINS_DIR="/home/nacos/plugins/peer-finder"
|
||||||
function print_servers() {
|
function print_servers() {
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
server.servlet.contextPath=${SERVER_SERVLET_CONTEXTPATH:/nacos}
|
server.servlet.contextPath=${SERVER_SERVLET_CONTEXTPATH:/nacos}
|
||||||
server.contextPath=/nacos
|
server.contextPath=/nacos
|
||||||
server.port=${NACOS_APPLICATION_PORT:8848}
|
server.port=${NACOS_APPLICATION_PORT:8848}
|
||||||
|
server.tomcat.accesslog.max-days=30
|
||||||
|
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i %{Request-Source}i
|
||||||
spring.datasource.platform=${SPRING_DATASOURCE_PLATFORM:""}
|
spring.datasource.platform=${SPRING_DATASOURCE_PLATFORM:""}
|
||||||
nacos.cmdb.dumpTaskInterval=3600
|
nacos.cmdb.dumpTaskInterval=3600
|
||||||
nacos.cmdb.eventTaskInterval=10
|
nacos.cmdb.eventTaskInterval=10
|
||||||
@ -12,32 +14,27 @@ db.url.0=jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT:3306}/${MYSQL_S
|
|||||||
db.url.1=jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT:3306}/${MYSQL_SERVICE_DB_NAME}?${MYSQL_SERVICE_DB_PARAM:characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false}
|
db.url.1=jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT:3306}/${MYSQL_SERVICE_DB_NAME}?${MYSQL_SERVICE_DB_PARAM:characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false}
|
||||||
db.user=${MYSQL_SERVICE_USER}
|
db.user=${MYSQL_SERVICE_USER}
|
||||||
db.password=${MYSQL_SERVICE_PASSWORD}
|
db.password=${MYSQL_SERVICE_PASSWORD}
|
||||||
|
|
||||||
### The auth system to use, currently only 'nacos' and 'ldap' is supported:
|
### The auth system to use, currently only 'nacos' and 'ldap' is supported:
|
||||||
nacos.core.auth.system.type=${NACOS_AUTH_SYSTEM_TYPE:nacos}
|
nacos.core.auth.system.type=${NACOS_AUTH_SYSTEM_TYPE:nacos}
|
||||||
|
|
||||||
### worked when nacos.core.auth.system.type=nacos
|
### worked when nacos.core.auth.system.type=nacos
|
||||||
### The token expiration in seconds:
|
### The token expiration in seconds:
|
||||||
nacos.core.auth.plugin.nacos.token.expire.seconds=${NACOS_AUTH_TOKEN_EXPIRE_SECONDS:18000}
|
nacos.core.auth.plugin.nacos.token.expire.seconds=${NACOS_AUTH_TOKEN_EXPIRE_SECONDS:18000}
|
||||||
### The default token:
|
### The default token:
|
||||||
nacos.core.auth.plugin.nacos.token.secret.key=${NACOS_AUTH_TOKEN:SecretKey012345678901234567890123456789012345678901234567890123456789}
|
nacos.core.auth.plugin.nacos.token.secret.key=${NACOS_AUTH_TOKEN:SecretKey012345678901234567890123456789012345678901234567890123456789}
|
||||||
|
|
||||||
### Turn on/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay.
|
### 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=${NACOS_AUTH_CACHE_ENABLE:false}
|
nacos.core.auth.caching.enabled=${NACOS_AUTH_CACHE_ENABLE:false}
|
||||||
nacos.core.auth.enable.userAgentAuthWhite=${NACOS_AUTH_USER_AGENT_AUTH_WHITE_ENABLE:false}
|
nacos.core.auth.enable.userAgentAuthWhite=${NACOS_AUTH_USER_AGENT_AUTH_WHITE_ENABLE:false}
|
||||||
nacos.core.auth.server.identity.key=${NACOS_AUTH_IDENTITY_KEY:serverIdentity}
|
nacos.core.auth.server.identity.key=${NACOS_AUTH_IDENTITY_KEY:serverIdentity}
|
||||||
nacos.core.auth.server.identity.value=${NACOS_AUTH_IDENTITY_VALUE:security}
|
nacos.core.auth.server.identity.value=${NACOS_AUTH_IDENTITY_VALUE:security}
|
||||||
server.tomcat.accesslog.enabled=${TOMCAT_ACCESSLOG_ENABLED:false}
|
server.tomcat.accesslog.enabled=${TOMCAT_ACCESSLOG_ENABLED:false}
|
||||||
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D
|
|
||||||
# default current work dir
|
# default current work dir
|
||||||
server.tomcat.basedir=
|
server.tomcat.basedir=file:.
|
||||||
## spring security config
|
## spring security config
|
||||||
### turn off security
|
### turn off security
|
||||||
nacos.security.ignore.urls=${NACOS_SECURITY_IGNORE_URLS:/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**}
|
nacos.security.ignore.urls=${NACOS_SECURITY_IGNORE_URLS:/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**}
|
||||||
# metrics for elastic search
|
# metrics for elastic search
|
||||||
management.metrics.export.elastic.enabled=false
|
management.metrics.export.elastic.enabled=false
|
||||||
management.metrics.export.influx.enabled=false
|
management.metrics.export.influx.enabled=false
|
||||||
|
|
||||||
nacos.naming.distro.taskDispatchThreadCount=10
|
nacos.naming.distro.taskDispatchThreadCount=10
|
||||||
nacos.naming.distro.taskDispatchPeriod=200
|
nacos.naming.distro.taskDispatchPeriod=200
|
||||||
nacos.naming.distro.batchSyncKeyCount=1000
|
nacos.naming.distro.batchSyncKeyCount=1000
|
||||||
|
Loading…
Reference in New Issue
Block a user