svr-health-profile.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. spring:
  2. # REDIS
  3. redis:
  4. database: 0 # Database index used by the connection factory.
  5. timeout: 0 # Connection timeout in milliseconds.
  6. #sentinel:
  7. # master: # Name of Redis server.
  8. # nodes: # Comma-separated list of host:port pairs.
  9. pool:
  10. 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.
  11. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  12. 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.
  13. 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.
  14. datasource:
  15. driver-class-name: com.mysql.jdbc.Driver
  16. max-active: 20
  17. max-idle: 8
  18. min-idle: 8
  19. validation-query: SELECT 1
  20. test-on-borrow: true
  21. application:
  22. id: JKZL
  23. fast-dfs:
  24. connect-timeout: 10
  25. network-timeout: 60
  26. charset: ISO8859-1
  27. pool:
  28. init-size: 5
  29. max-size: 20
  30. wait-time: 500
  31. http:
  32. tracker-http-port: 80
  33. anti-steal-token: no
  34. secret-key: FastDFS1234567890
  35. # 就诊事件与CDA文档类型关联
  36. cda-document-type-options:
  37. event-type:
  38. - "0": 0dae00065684c9920dc35654490aa9ac # 门诊
  39. - "1": 0dae00065684cb220dc35654490aa9ae # 住院
  40. eip:
  41. tenant: jkzl
  42. ---
  43. spring:
  44. profiles: prod
  45. datasource:
  46. url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  47. username: healthcloud
  48. password: GP8Qz4qU
  49. redis:
  50. host: 192.168.50.82
  51. port: 6379
  52. password: q4YaQemf
  53. fast-dfs:
  54. tracker-server: 192.168.50.116:22122,192.168.50.119:22122
  55. public-server: http://192.168.220.66:23000