application.properties配置文件内容与主库代码格式同步 #360
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在整体copy https://github.com/alibaba/nacos/blob/9069730a04d96a4f52be24331089a4f5f038ec8b/distribution/conf/application.properties 文件的基础上,将docker的环境变量替换上去;
原文件除最后的 nacos.naming.* 部分删除了,其他配置均保留了;
修改MYSQL_SERVICE_DB_PARAM变量的默认值与nacos默认配置文件同步;
修改NACOS_AUTH_CACHE_ENABLE变量默认值为true,与nacos默认配置文件同步;
添加NACOS_AUTH_ENABLE变量,默认值为false;
添加NACOS_AUTH_TOKEN_CACHE_ENABLE变量,默认值为false;