New file |
| | |
| | | server: |
| | | port: 8194 |
| | | spring: |
| | | application: |
| | | name: zuul |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: localhost |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 密码 |
| | | password: |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 8 |
| | | # 连接池的最大数据库连接数 |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | |
| | | zuul: |
| | | prefix: /api |
| | | routes: |
| | | appletsbackstage: |
| | | path: /api/appletsbackstage/** |
| | | serviceId: appletsbackstage |
| | | applets: |
| | | path: /api/applets/** |
| | | serviceId: applets |
| | | communitybackstage: |
| | | path: /api/communitybackstage/** |
| | | serviceId: communitybackstage |
| | | |
| | | ribbon: |
| | | ConnectTimeout: 60000 |
| | | ReadTimeout: 60000 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 60000 |
| | | |
| | | |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | defaultZone: http://localhost:8192/eureka/ |