Browse Source

feature1.0.0:添加grey环境配置

master
penny 4 years ago
parent
commit
5644a5d741
  1. 22
      bnyer-auth/src/main/resources/bootstrap-grey.yml
  2. 8
      bnyer-auth/src/main/resources/bootstrap-prod.yml
  3. 2
      bnyer-auth/src/main/resources/bootstrap.yml
  4. 22
      bnyer-gateway/src/main/resources/bootstrap-grey.yml
  5. 22
      bnyer-services/bnyer-file/src/main/resources/bootstrap-grey.yml
  6. 22
      bnyer-services/bnyer-img/src/main/resources/bootstrap-grey.yml
  7. 22
      bnyer-services/bnyer-job/src/main/resources/bootstrap-grey.yml
  8. 22
      bnyer-services/bnyer-system/src/main/resources/bootstrap-grey.yml
  9. 22
      bnyer-visual/bnyer-monitor/src/main/resources/bootstrap-grey.yml

22
bnyer-auth/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

8
bnyer-auth/src/main/resources/bootstrap-prod.yml

@ -3,18 +3,18 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: #http://117.50.61.7:8848 server-addr: http://175.24.122.142:8848
# 命名空间地址 # 命名空间地址
namespace: #c4f53d8c-0a91-4249-a804-f16f543ec3b0 namespace: 604df951-ada5-481f-a0be-9fd9b97a7f4d
# 命名空间分组 # 命名空间分组
group: prod group: prod
config: config:
# 配置中心地址 # 配置中心地址
server-addr: #http://117.50.61.7:8848 server-addr: http://175.24.122.142:8848
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 命名空间地址 # 命名空间地址
namespace: #c4f53d8c-0a91-4249-a804-f16f543ec3b0 namespace: 604df951-ada5-481f-a0be-9fd9b97a7f4d
# 命名空间分组 # 命名空间分组
group: prod group: prod
# 共享配置 # 共享配置

2
bnyer-auth/src/main/resources/bootstrap.yml

@ -12,4 +12,4 @@ spring:
name: bnyer-auth name: bnyer-auth
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: grey

22
bnyer-gateway/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

22
bnyer-services/bnyer-file/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

22
bnyer-services/bnyer-img/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

22
bnyer-services/bnyer-job/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

22
bnyer-services/bnyer-system/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

22
bnyer-visual/bnyer-monitor/src/main/resources/bootstrap-grey.yml

@ -0,0 +1,22 @@
spring:
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: http://175.24.122.142:6231
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
config:
# 配置中心地址
server-addr: http://175.24.122.142:6231
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: abfe8ee6-161b-4f8f-b61f-51663bbfa4f9
# 命名空间分组
group: grey
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
Loading…
Cancel
Save