ltkg-service-dev.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. server:
  2. port: 8775
  3. # 驱动配置信息
  4. spring:
  5. profiles:
  6. active: local
  7. datasource:
  8. driver-class-name: org.neo4j.jdbc.Driver
  9. url: jdbc:neo4j:http://192.168.3.150:7474
  10. username: neo4j
  11. password: 12345678
  12. #定义初始连接数
  13. initialSize: 0
  14. #定义最大连接数
  15. maxActive: 20
  16. #定义最大空闲
  17. maxIdle: 20
  18. #定义最小空闲
  19. minIdle: 1
  20. #定义最长等待时间
  21. maxWait: 60000
  22. cloud:
  23. stream:
  24. bindings:
  25. outputLog:
  26. destination: myLog
  27. # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring
  28. #mq
  29. rabbitmq:
  30. host: 192.168.2.236
  31. port: 5672
  32. username: lantone
  33. password: lantone
  34. publisher-confirms: true
  35. virtual-host: /
  36. # 配置缓存,初始缓存容量,最大容量
  37. cache:
  38. type: caffeine
  39. caffeine:
  40. spec: initialCapacity=10,maximumSize=200
  41. #mybatis
  42. mybatis:
  43. type-aliases-package: com.diagbot.entity
  44. mapper-locations: classpath:mapper/**/*.xml