bootstrap.yml 455 B

12345678910111213
  1. server:
  2. port: 18011
  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. name: user # 配置文件名称