bnyer-cloud后端服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
857 B

spring:
cloud:
nacos:
discovery:
# 解决部署在不同服务器访问不到的问题,需暴露外网ip
ip: 81.69.47.31
# 部署在不同服务器上的指定端口
port: 9101
# 服务注册地址
server-addr: http://175.24.122.142:8848
# 命名空间地址
namespace: 604df951-ada5-481f-a0be-9fd9b97a7f4d
# 命名空间分组
group: prod
config:
# 配置中心地址
server-addr: http://175.24.122.142:8848
# 配置文件格式
file-extension: yml
# 命名空间地址
namespace: 604df951-ada5-481f-a0be-9fd9b97a7f4d
# 命名空间分组
group: prod
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}