bootstrap.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. api.version: api/v1/truckTms
  2. spring:
  3. profiles:
  4. include: ${SPRING_PROFILES:dev}
  5. jackson:
  6. date-format: yyyy-MM-dd HH:mm:ss
  7. time-zone: GMT+8
  8. # serialization: {WRITE_DATES_AS_TIMESTAMPS: true}
  9. messages:
  10. basename: message
  11. encoding: UTF-8
  12. mvc:
  13. static-path-pattern:
  14. #eureka设置
  15. eureka:
  16. client:
  17. service-url:
  18. defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8081}/eureka/
  19. register-with-eureka: false #表示向EurekaServer注册自己 默认为true
  20. fetch-registry: false #是否从EurekaServer抓取已有的注册信息,默认为true,单节点无所谓,集群必须设置为true才能配合ribbon使用负载均衡
  21. instance:
  22. prefer-ip-address: true
  23. status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
  24. instance-id: ${spring.cloud.client.ip-address}:${server.port}
  25. genxml:
  26. pth: com/a
  27. cache:
  28. level: 2
  29. redis:
  30. host: 10.10.50.28
  31. port: 6379
  32. pwd: 123456
  33. project:
  34. prefix: sysmanage
  35. pool:
  36. maxTotal: 8
  37. maxWaitMillis: 1000
  38. maxIdle: 8
  39. cache:
  40. time: 864000000
  41. database: 0
  42. #自定义配置Redis相关配置
  43. prefix:
  44. order: order
  45. line: line
  46. suffix: end
  47. str:
  48. tengxun:
  49. key: WDTBZ-A5VKJ-UDLFI-KYJY6-WTP2S-A6B4Y
  50. ZhongJiaoXingLu:
  51. cid: 72c918a9-49d7-434e-ae24-e3b36a589800
  52. srt: b6549e66-e3a2-44f2-a1a3-d1f77d6c96f2
  53. user: f760f293-4234-4495-90c0-fa1bf5f29bf6
  54. pwd: 5T91u0h5SVg132G41440MD1jj2B77I
  55. #停车
  56. parkMins: 60
  57. #离线时长
  58. outMins : 10
  59. #路线偏移时长
  60. abnMins: 60
  61. #处理类型type=1 异常线路预警
  62. #type=2 异常线路预警
  63. #+停车
  64. #type=3 异常线路预警
  65. #+离线
  66. #type=4 异常线路预警
  67. #+停车+离线
  68. type: 4
  69. mybatis:
  70. type-aliases-package: com.steerinfo.dil.model
  71. mapper-locations: classpath:com/steerinfo/dil/mapper/*.xml
  72. configuration:
  73. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  74. mapUnderscoreToCamelCase: true
  75. call-setters-on-nulls: true