ltkg-service-dev.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. server:
  2. port: 8775
  3. # 驱动配置信息
  4. spring:
  5. profiles:
  6. active: local
  7. datasource:
  8. dynamic:
  9. primary: neo4j
  10. # 数据库配置
  11. datasource:
  12. neo4j:
  13. driver-class-name: org.neo4j.jdbc.Driver
  14. url: jdbc:neo4j:http://192.168.2.190:7474
  15. username: root
  16. password: zjlantone
  17. #定义初始连接数
  18. initialSize: 0
  19. #定义最大连接数
  20. maxActive: 20
  21. #定义最大空闲
  22. maxIdle: 20
  23. #定义最小空闲
  24. minIdle: 1
  25. #定义最长等待时间
  26. maxWait: 60000
  27. mysql:
  28. driver-class-name: com.mysql.cj.jdbc.Driver
  29. platform: mysql
  30. url: jdbc:mysql://192.168.2.236:3306/sys-ltkg?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
  31. username: root
  32. password: lantone
  33. cloud:
  34. stream:
  35. bindings:
  36. outputLog:
  37. destination: myLog
  38. # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring
  39. #mq
  40. rabbitmq:
  41. host: 192.168.2.236
  42. port: 5672
  43. username: lantone
  44. password: lantone
  45. publisher-confirms: true
  46. virtual-host: /
  47. # 配置缓存,初始缓存容量,最大容量
  48. cache:
  49. type: caffeine
  50. caffeine:
  51. spec: initialCapacity=10,maximumSize=200
  52. #mybatis
  53. mybatis:
  54. type-aliases-package: com.diagbot.entity
  55. mapper-locations: classpath:mapper/**/*.xml
  56. #mybatis-plus
  57. mybatis-plus:
  58. mapper-locations: classpath:/mapper/*Mapper.xml
  59. #实体扫描,多个package用逗号或者分号分隔
  60. typeAliasesPackage: com.diagbot.entity
  61. global-config:
  62. #刷新mapper 调试神器
  63. db-config:
  64. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  65. id-type: id_worker
  66. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  67. field-strategy: not_empty
  68. #驼峰下划线转换
  69. column-underline: true
  70. #数据库大写下划线转换
  71. #capital-mode: true
  72. #刷新mapper 调试神器
  73. refresh-mapper: true
  74. #逻辑删除配置
  75. logic-delete-value: 0
  76. logic-not-delete-value: 1
  77. #自定义填充策略接口实现
  78. #meta-object-handler: com.baomidou.springboot.xxx
  79. #自定义SQL注入器
  80. #sql-injector: com.baomidou.springboot.xxx
  81. configuration:
  82. map-underscore-to-camel-case: true
  83. cache-enabled: false
  84. nlprel:
  85. server:
  86. address: http://192.168.3.150:3456