123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- #debug=false
- server.port=8088
- server.servlet.context-path=/xczg
- spring.http.multipart.max-file-size=-1
- spring.http.multipart.max-request-size=-1
- #文件上传大小限制
- singleFileSize = 500MB
- totalFileSize = 500MB
- mybatis.config.neo4j = mybatis-config-neo4j.xml
- #数据源连接池
- spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
- #数据库信息配置
- 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
- spring.datasource.mysql.type = com.alibaba.druid.pool.DruidDataSource
- spring.datasource.mysql.username = root
- spring.datasource.mysql.password = xczgdeveloper
- spring.datasource.mysql.driver-class-name = com.mysql.cj.jdbc.Driver
- spring.datasource.mysql.min-pool-Size=3
- spring.datasource.mysql.max-pool-size=25
- spring.datasource.mysql.max-life-time=20000
- spring.datasource.mysql.borrow-connection-timeout=30
- spring.datasource.mysql.login-timeout=30
- spring.datasource.mysql.maintenance-interval=60
- spring.datasource.mysql.max-idle-time=60
- spring.datasource.mysql.unique-resource-name = MysqlDataSource
- spring.datasource.mysql.connection-properties = druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
- #77图库地址配置
- spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.70.77:7688/
- spring.datasource.neo4jmaster.username = neo4j
- spring.datasource.neo4jmaster.password = 123456
- spring.datasource.neo4jmaster.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
- spring.datasource.neo4jmaster.min-pool-Size=3
- spring.datasource.neo4jmaster.max-pool-size=25
- spring.datasource.neo4jmaster.max-life-time=20000
- spring.datasource.neo4jmaster.borrow-connection-timeout=30
- spring.datasource.neo4jmaster.login-timeout=30
- spring.datasource.neo4jmaster.maintenance-interval=60
- spring.datasource.neo4jmaster.max-idle-time=60
- spring.datasource.neo4jmaster.unique-resource-name = Neo4jMasterDataSource
- #spring.datasource.neo4jslave.jdbc-url = jdbc:neo4j:bolt://neo4j:7687/
- #spring.datasource.neo4jslave.username = neo4j
- #spring.datasource.neo4jslave.password = 123456
- #spring.datasource.neo4jslave.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
- #spring.datasource.neo4jslave.min-pool-Size=3
- #spring.datasource.neo4jslave.max-pool-size=25
- #spring.datasource.neo4jslave.max-life-time=20000
- #spring.datasource.neo4jslave.borrow-connection-timeout=30
- #spring.datasource.neo4jslave.login-timeout=30
- #spring.datasource.neo4jslave.maintenance-interval=60
- #spring.datasource.neo4jslave.max-idle-time=60
- #spring.datasource.neo4jslave.unique-resource-name = Neo4jSlaveDataSource
- #\u8fde\u63a5\u6c60\u7684\u914d\u7f6e\u4fe1\u606f
- #spring.datasource.initialSize=5
- #spring.datasource.minIdle=5
- #spring.datasource.maxActive=20
- #spring.datasource.maxWait=60000
- #spring.datasource.timeBetweenEvictionRunsMillis=60000
- #spring.datasource.minEvictableIdleTimeMillis=300000
- #spring.datasource.validationQuery=SELECT 1 FROM DUAL
- #spring.datasource.testWhileIdle=true
- #spring.datasource.testOnBorrow=false
- #spring.datasource.testOnReturn=false
- #spring.datasource.poolPreparedStatements=true
- #spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
- #spring.datasource.filters=stat,wall,log4j
- #spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
- #######################mybatis###########################
- es.config.common.url=http://elasticsearch:9200
- es.config.common.maxConnection=80
- mybatis.config.mysql=classpath:mybatis-config-mysql.xml
- mybatis.configuration.map-underscore-to-camel-case=true
- #\u6e32\u67d3\u65b9\u5f0f\u914d\u7f6e
- render.engineName=static
- #是否启用缓存静态资源文件
- static.resource.cacheable=false
- #是否启用devtools工具
- spring.devtools.restart.enabled=false
- #elasticsearch地址配置
- esAddress=elasticsearch
- esPort=9300
- ## TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF ##
- logging.config = classpath:logback.xml
- logging.level.mapper = DEBUG
- logging.level.neo4jmapper = DEBUG
- logging.level.org.springframework.boot = OFF
- logging.level.com.xczg = DEBUG
- #hadoop:hdfs
- spring.hadoop.fsUri=hdfs://namenode:9000
- #NLP
- nlp.uri = http://39.105.7.116:9999/
- nlp.entity.and.relation = entity_and_relation
- #批量实体和关系Http接口访问地址
- entity.and.relation.multi = entity_and_relation_multi
- #实体识别
- nlp.entity.recognition = entity_recognition
- #实体属性
- nlp.entity.attribute = entity_attribute
- #使用的elasticsearch的索引
- elasticsearch.indexName=document_zh
|