测试环境nacos配置修改;
This commit is contained in:
@@ -16,18 +16,14 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 10.33.0.129:6010
|
||||||
|
# 线上测试环境配置 容器名+端口号
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 127.0.0.1:8848
|
|
||||||
# 锁定server端的配置文件(读取它的配置项)
|
|
||||||
namespace: # 命名空间id
|
namespace: # 命名空间id
|
||||||
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
||||||
file-extension: yml #默认properties
|
file-extension: yml #默认properties
|
||||||
# 开启nacos自动刷新,如果这个配置没有或者为false会导致配置不能自动刷新
|
# 开启nacos自动刷新,如果这个配置没有或者为false会导致配置不能自动刷新
|
||||||
# 允许nacos服务端向本地同步配置
|
# 允许nacos服务端向本地同步配置
|
||||||
enable-remote-sync-config: true
|
enable-remote-sync-config: true
|
||||||
refresh-enabled: true
|
refresh-enabled: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user