12345678910111213141516171819202122 |
- ##公共配置
- server:
- svr-dashboard-port: 8000
- web-gateway-port: 8088
- svr-base-port: 10020
- svr-quota-port: 10030
- #发现服务
- 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}}
|