application.yml 754 B

1234567891011121314151617181920212223242526272829303132333435
  1. server:
  2. port: 5008 # 端口号
  3. servlet:
  4. context-path: ${spring.application.name} # 访问路径,如果不配置,访问IP:端口号,配置后访问IP:端口号/${context-path}
  5. spring:
  6. application:
  7. name: / # 项目名称
  8. http:
  9. encoding: # http编码
  10. force: true
  11. charset: UTF-8
  12. enabled: true
  13. redis:
  14. database: 0
  15. host: 192.168.2.246
  16. port: 6379
  17. password:
  18. timeout: 2000
  19. jedis:
  20. pool:
  21. max-active: 8
  22. min-idle: 0
  23. max-wait: -1ms
  24. max-idle: 8
  25. CRF:
  26. url: http://192.168.3.150:3456/api/mr_info_ex/entity_predict
  27. Similarity:
  28. url: http://192.168.3.150:3456/api/mr_info_ex/similarity
  29. logging: # 日志
  30. config: classpath:logback-spring.xml