1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- ##公共配置
- server:
- svr-dashboard-port: 9010
- web-gateway-port: 8088
- svr-base-port: 10020
- svr-quota-port: 10030
- svr-wlyy-port: 10040
- svr-logServer-port: 9411
- context-path:
- svr-dashboard-context-path: /
- svr-web-gateway-context-path: /
- svr-base-context-path: /
- svr-quota-context-path: /
- svr-wlyy-context-path: /
- svr-logServer-context-path: /
- svr-configurations-context-path: /
- #hibernate 配置
- hibernate:
- dialect: org.hibernate.dialect.MySQL5Dialect
- show_sql: false
- ejb:
- naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
- #发现服务
- 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秒 一般不修改
- ## 配置服务动态刷新
- #spring:
- # cloud:
- # stream:
- # kafka:
- # binder:
- # brokers: 172.17.110.201:9092
- # zkNodes: 172.17.110.201:2181
- # bus:
- # trace:
- # enabled: true
|