1234567891011121314151617181920212223242526272829 |
- server:
- context-path: ${server.context-path.svr-configurations-context-path}
- #发现服务
- 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
- ---
- spring:
- profiles: jwtest
- ---
- spring:
- profiles: jwprod
|