application-dev.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. spring:
  2. datasource:
  3. druid:
  4. # url: jdbc:mysql://192.168.1.29:3306/std_ttc_dev?autoReconnect=true&useUnicode=TRUE&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  5. # username: ttcDev
  6. # password: ttc123456
  7. # url: jdbc:mysql://192.168.0.27:3306/std_ttc_dev?autoReconnect=true&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  8. url: jdbc:mysql://localhost:3306/std_ttc_test?autoReconnect=true&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  9. # url: jdbc:mysql://192.168.1.127:3306/std_ttc_dev_1?autoReconnect=true&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  10. username: root
  11. password: root
  12. # url: jdbc:mysql://117.81.233.247:3307/std_ttc_test?autoReconnect=true&useUnicode=TRUE&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  13. # username: ttcTest
  14. # password: ttc123456
  15. data:
  16. elasticsearch:
  17. cluster-name: ttc_test_es
  18. # cluster-nodes: 192.168.0.28:9300,192.168.0.29:9300,192.168.0.30:9300
  19. cluster-nodes: 192.168.1.110:9300,192.168.1.110:9301,192.168.1.110:9302
  20. # typename: esttc
  21. # indexname: ttcdev
  22. # label_common_indexname: label_common_dev
  23. # label_custom_indexname: label_custom_dev
  24. # label_connection_indexname: label_connection_dev
  25. typename: esttc
  26. indexname: ttctest
  27. label_common_indexname: labelcommon
  28. label_custom_indexname: labelcustom
  29. label_connection_indexname: labelconnection
  30. #redis:
  31. # host: 192.168.0.29
  32. # port: 6379
  33. # password: 123
  34. redis:
  35. port: 6379
  36. host: localhost
  37. lettuce:
  38. pool:
  39. max-active: 8 # 连接池最大连接数
  40. max-idle: 8 # 连接池最大空闲连接数
  41. min-idle: 0 # 连接池最小空闲连接数
  42. max-wait: -1ms # 连接池最大阻塞等待时间,负值表示没有限制
  43. #fdfs:
  44. # domain: http://192.168.0.28:12345
  45. # trackerList: 192.168.0.28:22122
  46. fdfs:
  47. domain: http://192.168.1.128:12345
  48. trackerList: 192.168.1.128:22122
  49. push:
  50. common:
  51. dir:
  52. base: E:\\push
  53. # 上传文件存储文件夹
  54. upload: ${push.common.dir.base}\\upload\\
  55. imag: ${push.common.dir.base}\\upload\\img\\
  56. excl: ${push.common.dir.base}\\upload\\excel\\
  57. model: ${push.common.dir.base}\\model\\
  58. export: ${push.common.dir.base}\\model\\export\\
  59. research: ${push.common.dir.base}\\model\\research\\
  60. url:
  61. # ip
  62. base: http://192.168.1.128:12345/
  63. path: ${push.common.url.base}/upload/down/