1234567891011121314151617181920212223242526272829303132333435 |
- ##公共配置
- server:
- svr-dashboard-port: 9010
- web-gateway-port: 8088
- svr-base-port: 10020
- svr-wlyy-port: 10090
- svr-quota-port: 10030
- svr-logServer-port: 9411
- context-path:
- svr-dashboard-context-path: /
- svr-web-gateway-context-path: /
- svr-base-context-path: /
- svr-wlyy-context-path: /
- svr-quota-context-path: /
- svr-logServer-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}
- leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
|