svr-pack-mgr.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. info:
  2. app:
  3. name: JsonPackageService
  4. description: EHR platform package service.
  5. version: 1.2.0
  6. spring:
  7. http:
  8. multipart:
  9. maxRequestSize: 1024MB #配置最大上传为1G
  10. maxFileSize: 1024MB #配置最大上传为1G
  11. # REDIS
  12. redis:
  13. database: 0 # Database index used by the connection factory.
  14. timeout: 0 # Connection timeout in milliseconds.
  15. #sentinel:
  16. # master: # Name of Redis server.
  17. # nodes: # Comma-separated list of host:port pairs.
  18. pool:
  19. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  20. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  21. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  22. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  23. datasource:
  24. driver-class-name: com.mysql.jdbc.Driver
  25. max-active: 20
  26. max-idle: 8
  27. min-idle: 8
  28. validation-query: SELECT 1
  29. test-on-borrow: true
  30. fast-dfs:
  31. connect-timeout: 20
  32. network-timeout: 60
  33. charset: ISO8859-1
  34. pool:
  35. init-size: 15
  36. max-size: 30
  37. wait-time: 500
  38. http:
  39. tracker-http-port: 80
  40. anti-steal-token: no
  41. secret-key: FastDFS1234567890
  42. elasticsearch:
  43. pool:
  44. init-size: 10
  45. max-size: 30
  46. eip:
  47. tenant: jkzl
  48. ---
  49. spring:
  50. profiles: prod
  51. datasource:
  52. url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  53. username: healthcloud
  54. password: GP8Qz4qU
  55. redis:
  56. host: 192.168.50.82
  57. port: 6379
  58. password: q4YaQemf
  59. fast-dfs:
  60. tracker-server: 192.168.50.116:22122,192.168.50.119:22122
  61. public-server: http://192.168.220.66:23000
  62. elasticsearch:
  63. cluster-name: elasticsearch
  64. cluster-nodes: 172.10.10.5:9300