application.properties 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #debug=false
  2. server.port=8088
  3. server.servlet.context-path=/xczg
  4. spring.http.multipart.max-file-size=-1
  5. spring.http.multipart.max-request-size=-1
  6. #文件上传大小限制
  7. singleFileSize = 500MB
  8. totalFileSize = 500MB
  9. mybatis.config.neo4j = mybatis-config-neo4j.xml
  10. #数据源连接池
  11. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  12. #数据库信息配置
  13. spring.datasource.mysql.jdbc-url = jdbc:mysql://xczgmysql:3306/xczg_developer?useAffectedRows=true&serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL
  14. spring.datasource.mysql.type = com.alibaba.druid.pool.DruidDataSource
  15. spring.datasource.mysql.username = root
  16. spring.datasource.mysql.password = xczgdeveloper
  17. spring.datasource.mysql.driver-class-name = com.mysql.cj.jdbc.Driver
  18. spring.datasource.mysql.min-pool-Size=3
  19. spring.datasource.mysql.max-pool-size=25
  20. spring.datasource.mysql.max-life-time=20000
  21. spring.datasource.mysql.borrow-connection-timeout=30
  22. spring.datasource.mysql.login-timeout=30
  23. spring.datasource.mysql.maintenance-interval=60
  24. spring.datasource.mysql.max-idle-time=60
  25. spring.datasource.mysql.unique-resource-name = MysqlDataSource
  26. spring.datasource.mysql.connection-properties = druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
  27. #77图库地址配置
  28. spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.70.77:7688/
  29. spring.datasource.neo4jmaster.username = neo4j
  30. spring.datasource.neo4jmaster.password = 123456
  31. spring.datasource.neo4jmaster.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  32. spring.datasource.neo4jmaster.min-pool-Size=3
  33. spring.datasource.neo4jmaster.max-pool-size=25
  34. spring.datasource.neo4jmaster.max-life-time=20000
  35. spring.datasource.neo4jmaster.borrow-connection-timeout=30
  36. spring.datasource.neo4jmaster.login-timeout=30
  37. spring.datasource.neo4jmaster.maintenance-interval=60
  38. spring.datasource.neo4jmaster.max-idle-time=60
  39. spring.datasource.neo4jmaster.unique-resource-name = Neo4jMasterDataSource
  40. #spring.datasource.neo4jslave.jdbc-url = jdbc:neo4j:bolt://neo4j:7687/
  41. #spring.datasource.neo4jslave.username = neo4j
  42. #spring.datasource.neo4jslave.password = 123456
  43. #spring.datasource.neo4jslave.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  44. #spring.datasource.neo4jslave.min-pool-Size=3
  45. #spring.datasource.neo4jslave.max-pool-size=25
  46. #spring.datasource.neo4jslave.max-life-time=20000
  47. #spring.datasource.neo4jslave.borrow-connection-timeout=30
  48. #spring.datasource.neo4jslave.login-timeout=30
  49. #spring.datasource.neo4jslave.maintenance-interval=60
  50. #spring.datasource.neo4jslave.max-idle-time=60
  51. #spring.datasource.neo4jslave.unique-resource-name = Neo4jSlaveDataSource
  52. #\u8fde\u63a5\u6c60\u7684\u914d\u7f6e\u4fe1\u606f
  53. #spring.datasource.initialSize=5
  54. #spring.datasource.minIdle=5
  55. #spring.datasource.maxActive=20
  56. #spring.datasource.maxWait=60000
  57. #spring.datasource.timeBetweenEvictionRunsMillis=60000
  58. #spring.datasource.minEvictableIdleTimeMillis=300000
  59. #spring.datasource.validationQuery=SELECT 1 FROM DUAL
  60. #spring.datasource.testWhileIdle=true
  61. #spring.datasource.testOnBorrow=false
  62. #spring.datasource.testOnReturn=false
  63. #spring.datasource.poolPreparedStatements=true
  64. #spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
  65. #spring.datasource.filters=stat,wall,log4j
  66. #spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  67. #######################mybatis###########################
  68. es.config.common.url=http://elasticsearch:9200
  69. es.config.common.maxConnection=80
  70. mybatis.config.mysql=classpath:mybatis-config-mysql.xml
  71. mybatis.configuration.map-underscore-to-camel-case=true
  72. #\u6e32\u67d3\u65b9\u5f0f\u914d\u7f6e
  73. render.engineName=static
  74. #是否启用缓存静态资源文件
  75. static.resource.cacheable=false
  76. #是否启用devtools工具
  77. spring.devtools.restart.enabled=false
  78. #elasticsearch地址配置
  79. esAddress=elasticsearch
  80. esPort=9300
  81. ## TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF ##
  82. logging.config = classpath:logback.xml
  83. logging.level.mapper = DEBUG
  84. logging.level.neo4jmapper = DEBUG
  85. logging.level.org.springframework.boot = OFF
  86. logging.level.com.xczg = DEBUG
  87. #hadoop:hdfs
  88. spring.hadoop.fsUri=hdfs://namenode:9000
  89. #NLP
  90. nlp.uri = http://39.105.7.116:9999/
  91. nlp.entity.and.relation = entity_and_relation
  92. #批量实体和关系Http接口访问地址
  93. entity.and.relation.multi = entity_and_relation_multi
  94. #实体识别
  95. nlp.entity.recognition = entity_recognition
  96. #实体属性
  97. nlp.entity.attribute = entity_attribute
  98. #使用的elasticsearch的索引
  99. elasticsearch.indexName=document_zh