application-dev.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.1.37:3306/std_ttc_dev?autoReconnect=true&useUnicode=TRUE&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  8. username: root
  9. password: root
  10. data:
  11. elasticsearch:
  12. cluster-name: ttc_test_es
  13. # cluster-nodes: 192.168.1.28:9300,192.168.1.29:9300,192.168.1.30:9300
  14. cluster-nodes: 192.168.1.52:9300,192.168.1.52:9301,192.168.1.52:9302
  15. typename: esttc
  16. # indexname: ttcdev
  17. indexname: ttctest
  18. #redis:
  19. # host: 192.168.1.29
  20. # port: 6379
  21. # password: 123
  22. redis:
  23. port: 6379
  24. host: localhost
  25. lettuce:
  26. pool:
  27. max-active: 8 # 连接池最大连接数
  28. max-idle: 8 # 连接池最大空闲连接数
  29. min-idle: 0 # 连接池最小空闲连接数
  30. max-wait: -1ms # 连接池最大阻塞等待时间,负值表示没有限制
  31. #fdfs:
  32. # domain: http://192.168.1.28:12345
  33. # trackerList: 192.168.1.28:22122
  34. fdfs:
  35. domain: http://192.168.1.159:8888
  36. trackerList: 192.168.1.159:8888
  37. mqtt:
  38. mqtt_brokerurl: tcp://192.168.1.30:1883
  39. mqtt_qos: 1