chore: 修改nacos连接地址

This commit is contained in:
郝先瑞 2023-11-01 17:48:08 +08:00
parent 004c323c94
commit 5a93beedf7
7 changed files with 17 additions and 16 deletions

View File

@ -11,10 +11,10 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -11,13 +11,13 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
# 本地启动
## server-addr: ${spring.cloud.nacos.discovery.server-addr}
# 极速启动
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -11,13 +11,13 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
# 本地启动
## server-addr: ${spring.cloud.nacos.discovery.server-addr}
# 极速启动
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -9,10 +9,10 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -9,10 +9,10 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -8,10 +8,10 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml

View File

@ -11,11 +11,12 @@ spring:
nacos:
# 注册中心
discovery:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
# 配置中心
config:
server-addr: http://192.168.179.21:8848
server-addr: http://localhost:8848
file-extension: yaml
shared-configs[0]:
data-id: youlai-common.yaml
refresh: true