svr-dfs.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. info:
  2. app:
  3. name: svr-dfs
  4. description: Ehr Platform Distributed File System Service.
  5. version: 1.0.0
  6. spring:
  7. datasource:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. max-active: 5
  10. max-idle: 2
  11. min-idle: 2
  12. validation-query: SELECT 1
  13. test-on-borrow: true
  14. fast-dfs:
  15. connect-timeout: 10
  16. network-timeout: 60
  17. charset: ISO8859-1
  18. pool:
  19. init-size: 5
  20. max-size: 20
  21. wait-time: 500
  22. http:
  23. tracker-http-port: 80
  24. anti-steal-token: no
  25. secret-key: FastDFS1234567890
  26. server:
  27. dict-code: FASTDFSWLDZ #外链地址系统字典拼音编码
  28. index:
  29. name: dfs #ES索引名称
  30. type: info #ES索引类型
  31. elasticsearch:
  32. pool:
  33. init-size: 2
  34. max-size: 5
  35. ---
  36. spring:
  37. profiles: prod
  38. datasource:
  39. url: jdbc:mysql://172.17.0.2:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  40. username: healthcloud
  41. password: GP8Qz4qU
  42. elasticsearch:
  43. cluster-name: elasticsearch
  44. cluster-nodes: 172.17.0.3:9300
  45. fast-dfs:
  46. tracker-server: 172.17.0.3:22122
  47. public-server: http://172.17.0.3:8888