svr-pack-mgr.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. info:
  2. app:
  3. name: SVR-PACK-MGR
  4. description: EHR Platform Microservice.
  5. version: 1.0.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: dev
  51. datasource:
  52. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  53. username: chenweishan
  54. password: chenweishan
  55. redis:
  56. host: 172.26.0.108
  57. port: 6390
  58. password:
  59. fast-dfs:
  60. tracker-server: 172.19.103.13:22122
  61. public-server: http://172.19.103.52:80
  62. elasticsearch:
  63. cluster-name: elasticsearch
  64. cluster-nodes: 172.19.103.9:9300
  65. ---
  66. spring:
  67. profiles: prod
  68. datasource:
  69. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  70. username: chenweishan
  71. password: chenweishan
  72. redis:
  73. host: 172.19.103.47
  74. port: 6379
  75. password: redis!@456
  76. fast-dfs:
  77. tracker-server: 172.19.103.13:22122
  78. public-server: http://172.19.103.52:80
  79. elasticsearch:
  80. cluster-name: elasticsearch
  81. cluster-nodes: 172.19.103.9:9300