mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
feat(bootstrap.yml): 开发环境的配置中心修改为线上共享配置中心
This commit is contained in:
parent
468033ae69
commit
a6f301fd38
@ -14,7 +14,7 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
# 公共配置
|
||||
shared-configs[0]:
|
||||
|
@ -11,9 +11,11 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
namespace: youlai-namespace-id
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
|
@ -14,7 +14,10 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
# 本地启动
|
||||
## server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
# 极速启动
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
|
@ -11,12 +11,12 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
# 公共配置
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
refresh: true
|
||||
|
@ -14,7 +14,10 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
# 本地启动
|
||||
## server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
# 极速启动
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
|
@ -9,13 +9,15 @@ spring:
|
||||
matching-strategy: ant_path_matcher
|
||||
cloud:
|
||||
nacos:
|
||||
# 注册中心
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
@ -14,12 +14,8 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
|
||||
# 日志目录
|
||||
logfile:
|
||||
dir: D://logssss/${spring.application.name}
|
||||
refresh: true
|
@ -11,11 +11,11 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
refresh: true
|
||||
|
@ -14,7 +14,7 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
# 公共配置
|
||||
shared-configs[0]:
|
||||
|
@ -11,11 +11,11 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
|
@ -12,7 +12,7 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
|
@ -7,13 +7,15 @@ spring:
|
||||
matching-strategy: ant_path_matcher
|
||||
cloud:
|
||||
nacos:
|
||||
# 注册中心
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
@ -1,5 +1,5 @@
|
||||
spring:
|
||||
application:
|
||||
name: youlai-auth
|
||||
profiles:
|
||||
active: dev
|
||||
application:
|
||||
name: youlai-auth
|
@ -2,8 +2,6 @@ server:
|
||||
port: 9999
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: youlai-gateway
|
||||
cloud:
|
||||
nacos:
|
||||
# 注册中心
|
||||
@ -11,7 +9,7 @@ spring:
|
||||
server-addr: http://localhost:8848
|
||||
# 配置中心
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
file-extension: yaml
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
|
@ -10,11 +10,11 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://c.youlai.tech:8848
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
namespace: youlai-namespace-id
|
||||
shared-configs[0]:
|
||||
data-id: youlai-common.yaml
|
||||
refresh: true
|
||||
refresh: true
|
||||
|
@ -1,3 +1,5 @@
|
||||
spring:
|
||||
application:
|
||||
name: youlai-gateway
|
||||
profiles:
|
||||
active: dev
|
||||
|
Loading…
Reference in New Issue
Block a user