application.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. server:
  2. port: ${svr-dfs.server.port}
  3. info:
  4. app:
  5. name: SVR-DFS
  6. description: EHR Platform Microservice.
  7. version: 1.0.0
  8. spring:
  9. datasource:
  10. driver-class-name: com.mysql.jdbc.Driver
  11. max-active: 5
  12. max-idle: 2
  13. min-idle: 2
  14. validation-query: SELECT 1
  15. test-on-borrow: true
  16. fast-dfs:
  17. connect-timeout: 10
  18. network-timeout: 60
  19. charset: ISO8859-1
  20. pool:
  21. init-size: 5
  22. max-size: 20
  23. wait-time: 500
  24. http:
  25. tracker-http-port: 80
  26. anti-steal-token: no
  27. secret-key: FastDFS1234567890
  28. #针对此服务的额外配置
  29. server:
  30. dict-code: FASTDFSWLDZ #外链地址系统字典拼音编码
  31. index:
  32. name: dfs #ES索引名称
  33. type: info #ES索引类型
  34. ---
  35. spring:
  36. profiles: dev
  37. datasource:
  38. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  39. username: chenweishan
  40. password: chenweishan
  41. elasticsearch:
  42. cluster-name: elasticsearch
  43. cluster-nodes: 172.19.103.9:9300
  44. fast-dfs:
  45. tracker-server: 172.19.103.13:22122
  46. public-server: http://172.19.103.52:80