diff --git a/README.md b/README.md index 791977d..4e50e38 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Run the following command: | MODE | cluster/standalone | cluster/standalone default **cluster** | | NACOS_SERVERS | nacos cluster address | eg. ip1:port1 ip2:port2 ip3:port3 | | PREFER_HOST_MODE | Whether hostname are supported | hostname/ip default **ip** | -| NACOS_SERVER_PORT | nacos server port | default **8848** | +| NACOS_APPLICATION_PORT | nacos server port | default **8848** | | NACOS_SERVER_IP | custom nacos server ip when network was mutil-network | | | SPRING_DATASOURCE_PLATFORM | standalone support mysql | mysql / empty default empty | | MYSQL_SERVICE_HOST | mysql host | | diff --git a/build/conf/application.properties b/build/conf/application.properties index 17607e6..6953e69 100644 --- a/build/conf/application.properties +++ b/build/conf/application.properties @@ -1,7 +1,7 @@ # spring server.servlet.contextPath=${SERVER_SERVLET_CONTEXTPATH:/nacos} server.contextPath=/nacos -server.port=${NACOS_SERVER_PORT:8848} +server.port=${NACOS_APPLICATION_PORT:8848} spring.datasource.platform=${SPRING_DATASOURCE_PLATFORM:""} nacos.cmdb.dumpTaskInterval=3600 nacos.cmdb.eventTaskInterval=10 diff --git a/changlog b/changlog index e26f027..bd4d5c6 100644 --- a/changlog +++ b/changlog @@ -1,3 +1,2 @@ -version:1.2.0 -1.构建nacos 1.2.0 最新镜像 -2.增加权限相关属性配置 \ No newline at end of file +version:1.2.1 +修改环境参数变量 修改NACOS_SERVER_PORT -> NACOS_APPLICATION_PORT,原因:Kubernetes 中如果出现服务名为NACOS_SERVER,会导致获取端口出现问题.