bootstrap.yml 585 B

123456789101112131415
  1. server:
  2. port: 18012
  3. # 指定当前服务的名称,这个名称会注册到注册中心
  4. spring:
  5. application:
  6. name: @artifactId@
  7. cloud:
  8. config: # Config客户端配置
  9. profile: @activatedProperties@ # 启用配置后缀名称
  10. label: master # 分支名称
  11. uri: http://localhost:18001
  12. # uri: http://47.119.112.46:18001 # 配置中心地址
  13. # uri: http://120.79.162.1:18001 # 配置中心地址(正式环境)
  14. name: commodity # 配置文件名称