123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- spring:
- application:
- name: svr-configurations
- jmx:
- default-domain: ${spring.application.name}
- security:
- user:
- name: jw
- password: jkzl
- eureka:
- client:
- healthcheck:
- enabled: true #启动监控检查
- instance:
- #eurika使用IP不使用host
- prefer-ip-address: true
- #定制化在eurika中显示的名称
- ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
- instance-id: ${spring.cloud.client.ipAddress}:${server.port}
- ---
- spring:
- profiles: jwdev
- ##git配置
- cloud:
- config:
- failFast: true #启动快速失败 即链接不到配置服务就启动失败
- server:
- git:
- # uri: http://192.168.1.220:10080/chenweida/jw.config.git
- # uri: http://192.168.116.100:10080/chenweida/mini.jw.config.git
- uri: http://192.168.1.220:10080/jiwei/jw.config.git
- default-label: master
- ---
- spring:
- profiles: jwtest
- ##git配置
- cloud:
- config:
- failFast: true #启动快速失败 即链接不到配置服务就启动失败
- server:
- git:
- # uri: http://192.168.1.220:10080/EHR/ehr.config.git
- uri: http://192.168.1.220:10080/chenyongxing/jw.config.git
- default-label: master
- ---
- spring:
- profiles: jwprod
- ##git配置
- cloud:
- config:
- server:
- git:
- uri: http://11.1.2.8:3000/ehr_admin/ehr.config.git
- default-label: master
- ---
- ##不想用远程的git 可以在环境变量配置native 开启本地配置
- spring:
- profiles:
- active: native
- ##git配置
- cloud:
- config:
- failFast: true #启动快速失败 即链接不到配置服务就启动失败
- server:
- native:
- search-locations: file:D:\software\soft_dev\IdeaWorkSpace\jw2.0-dev\jw.config ##本地的got配置路径
|