- server:
- port: 18012
- # 指定当前服务的名称,这个名称会注册到注册中心
- spring:
- application:
- name: @artifactId@
- cloud:
- config: # Config客户端配置
- profile: @activatedProperties@ # 启用配置后缀名称
- label: master # 分支名称
- uri: http://localhost:18001
- # uri: http://47.119.112.46:18001 # 配置中心地址
- # uri: http://120.79.162.1:18001 # 配置中心地址(正式环境)
- name: commodity # 配置文件名称
|