Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zhangjian1949
microservices-platform
提交
68e73ab9
microservices-platform
项目概览
zhangjian1949
/
microservices-platform
与 Fork 源项目一致
Fork自
zlt2000 / microservices-platform
通知
6
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
microservices-platform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
68e73ab9
编写于
7月 13, 2020
作者:
zlt2000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update nacos to 1.3.1
上级
248fd47b
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
133 addition
and
30 deletion
+133
-30
zlt-register/nacos/bin/startup.cmd
zlt-register/nacos/bin/startup.cmd
+8
-1
zlt-register/nacos/bin/startup.sh
zlt-register/nacos/bin/startup.sh
+1
-1
zlt-register/nacos/conf/application.properties
zlt-register/nacos/conf/application.properties
+17
-1
zlt-register/nacos/conf/application.properties.example
zlt-register/nacos/conf/application.properties.example
+16
-0
zlt-register/nacos/conf/cluster.conf.example
zlt-register/nacos/conf/cluster.conf.example
+17
-1
zlt-register/nacos/conf/nacos-logback.xml
zlt-register/nacos/conf/nacos-logback.xml
+41
-25
zlt-register/nacos/conf/nacos-mysql.sql
zlt-register/nacos/conf/nacos-mysql.sql
+17
-1
zlt-register/nacos/conf/schema.sql
zlt-register/nacos/conf/schema.sql
+16
-0
zlt-register/nacos/target/nacos-server.jar
zlt-register/nacos/target/nacos-server.jar
+0
-0
未找到文件。
zlt-register/nacos/bin/startup.cmd
浏览文件 @
68e73ab9
...
...
@@ -30,6 +30,8 @@ set SERVER=nacos-server
set
MODE_INDEX
=-
1
set
FUNCTION_MODE_INDEX
=-
1
set
SERVER_INDEX
=-
1
set
EMBEDDED_STORAGE_INDEX
=-
1
set
EMBEDDED_STORAGE
=
""
set
i
=
0
...
...
@@ -37,6 +39,7 @@ for %%a in (%*) do (
if
"
%%a
"
==
"-m"
(
set
/a
MODE_INDEX
=
!i!
+
1
)
if
"
%%a
"
==
"-f"
(
set
/a
FUNCTION_MODE_INDEX
=
!i!
+
1
)
if
"
%%a
"
==
"-s"
(
set
/a
SERVER_INDEX
=
!i!
+
1
)
if
"
%%a
"
==
"-p"
(
set
/a
EMBEDDED_STORAGE_INDEX
=
!i!
+
1
)
set
/a
i
+=
1
)
...
...
@@ -45,6 +48,7 @@ for %%a in (%*) do (
if
%MODE_INDEX%
==
!i!
(
set
MODE
=
"
%%a
"
)
if
%FUNCTION_MODE_INDEX%
==
!i!
(
set
FUNCTION_MODE
=
"
%%a
"
)
if
%SERVER_INDEX%
==
!i!
(
set
SERVER
=
"
%%a
"
)
if
%EMBEDDED_STORAGE_INDEX%
==
!i!
(
set
EMBEDDED_STORAGE
=
"
%%a
"
)
set
/a
i
+=
1
)
...
...
@@ -52,6 +56,9 @@ if %MODE% == "standalone" (
set
"JAVA_OPT=
%JAVA_OPT%
-Xms512m -Xmx512m -Xmn256m"
set
"JAVA_OPT=
%JAVA_OPT%
-Dnacos.standalone=true"
)
else
(
if
%EMBEDDED_STORAGE%
==
"embedded"
(
set
"JAVA_OPT=
%JAVA_OPT%
-DembeddedStorage=true"
)
set
"JAVA_OPT=
%JAVA_OPT%
-server -Xms2g -Xmx2g -Xmn1g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m"
set
"JAVA_OPT=
%JAVA_OPT%
-XX:-OmitStackTraceInFastThrow XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=
%BASE_DIR%
\logs\java_heapdump.hprof"
set
"JAVA_OPT=
%JAVA_OPT%
-XX:-UseLargePages"
...
...
@@ -64,7 +71,7 @@ if %FUNCTION_MODE% == "naming" (
set
"JAVA_OPT=
%JAVA_OPT%
-Dnacos.functionMode=naming"
)
set
"JAVA_OPT=
%JAVA_OPT%
-Dloader.path=
%BASE_DIR%
/plugins/health,
%BASE_DIR%
/plugins/cmdb
,
%BASE_DIR%
/plugins/mysql
"
set
"JAVA_OPT=
%JAVA_OPT%
-Dloader.path=
%BASE_DIR%
/plugins/health,
%BASE_DIR%
/plugins/cmdb"
set
"JAVA_OPT=
%JAVA_OPT%
-Dnacos.home=
%BASE_DIR%
"
set
"JAVA_OPT=
%JAVA_OPT%
-jar
%BASE_DIR%
\target\
%SERVER%
.jar"
...
...
zlt-register/nacos/bin/startup.sh
浏览文件 @
68e73ab9
...
...
@@ -113,7 +113,7 @@ else
JAVA_OPT
=
"
${
JAVA_OPT
}
-Xloggc:
${
BASE_DIR
}
/logs/nacos_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M"
fi
JAVA_OPT
=
"
${
JAVA_OPT
}
-Dloader.path=
${
BASE_DIR
}
/plugins/health,
${
BASE_DIR
}
/plugins/cmdb
,
${
BASE_DIR
}
/plugins/mysql
"
JAVA_OPT
=
"
${
JAVA_OPT
}
-Dloader.path=
${
BASE_DIR
}
/plugins/health,
${
BASE_DIR
}
/plugins/cmdb"
JAVA_OPT
=
"
${
JAVA_OPT
}
-Dnacos.home=
${
BASE_DIR
}
"
JAVA_OPT
=
"
${
JAVA_OPT
}
-jar
${
BASE_DIR
}
/target/
${
SERVER
}
.jar"
JAVA_OPT
=
"
${
JAVA_OPT
}
${
JAVA_OPT_EXT
}
"
...
...
zlt-register/nacos/conf/application.properties
浏览文件 @
68e73ab9
#
# Copyright 1999-2018 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#*************** Spring Boot Related Configurations ***************#
### Default web context path:
server.servlet.contextPath
=
/nacos
...
...
@@ -13,7 +29,7 @@ server.port=8848
#*************** Config Module Related Configurations ***************#
### If use
r
MySQL as datasource:
### If use MySQL as datasource:
# spring.datasource.platform=mysql
### Count of DB:
...
...
zlt-register/nacos/conf/application.properties.example
浏览文件 @
68e73ab9
#
# Copyright 1999-2018 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#*************** Spring Boot Related Configurations ***************#
### Default web context path:
server.servlet.contextPath=/nacos
...
...
zlt-register/nacos/conf/cluster.conf.example
浏览文件 @
68e73ab9
#
# Copyright 1999-2018 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#it is ip
#example
192.168.16.101:8847
192.168.16.102
192.168.16.103
\ No newline at end of file
192.168.16.103
zlt-register/nacos/conf/nacos-logback.xml
浏览文件 @
68e73ab9
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 1999-2018 Alibaba Group Holding Ltd.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<configuration
scan=
"true"
scanPeriod=
"10 seconds"
>
<springProperty
scope=
"context"
name=
"logPath"
source=
"nacos.logs.path"
defaultValue=
"${nacos.home}/logs"
/>
...
...
@@ -11,7 +27,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${nacos.home}/logs/cmdb-main.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -35,7 +51,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-server.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -59,7 +75,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-raft.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -84,7 +100,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-distro.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -108,7 +124,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-event.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -132,7 +148,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-push.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -148,7 +164,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-rt.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -165,7 +181,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/naming-performance.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -183,7 +199,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-dump.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -199,7 +215,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-pull.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
20MB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
128MB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -215,7 +231,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-fatal.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
20MB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
128MB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -231,7 +247,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-memory.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
20MB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
128MB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -247,7 +263,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-pull-check.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -264,7 +280,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-client-request.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -281,7 +297,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-trace.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -298,7 +314,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-notify.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
1GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
3GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -315,7 +331,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/config-server.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
50MB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
512MB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -332,7 +348,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/nacos.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
50MB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
512MB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -349,7 +365,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/nacos-address.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -366,7 +382,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/istio-main.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -383,7 +399,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/core-auth.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -400,7 +416,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/protocol-raft.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -417,7 +433,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/protocol-distro.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -434,7 +450,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/nacos-cluster.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
@@ -451,7 +467,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/alipay-jraft.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<
MaxHistory>
7
</M
axHistory>
<
maxHistory>
7
</m
axHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
...
...
zlt-register/nacos/conf/nacos-mysql.sql
浏览文件 @
68e73ab9
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/******************************************/
/* 数据库全名 = nacos_config */
/* 表名称 = config_info */
...
...
@@ -192,7 +208,7 @@ CREATE TABLE `roles` (
CREATE
TABLE
`permissions`
(
`role`
varchar
(
50
)
NOT
NULL
,
`resource`
varchar
(
512
)
NOT
NULL
,
`resource`
varchar
(
255
)
NOT
NULL
,
`action`
varchar
(
8
)
NOT
NULL
,
UNIQUE
INDEX
`uk_role_permission`
(
`role`
,
`resource`
,
`action`
)
USING
BTREE
);
...
...
zlt-register/nacos/conf/schema.sql
浏览文件 @
68e73ab9
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
CREATE
SCHEMA
nacos
AUTHORIZATION
nacos
;
CREATE
TABLE
config_info
(
...
...
zlt-register/nacos/target/nacos-server.jar
浏览文件 @
68e73ab9
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录