svr-health-profile.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. pool:
  25. init-size: 5
  26. max-size: 20
  27. wait-time: 500
  28. connect-timeout: 2
  29. network-timeout: 30
  30. charset: ISO8859-1
  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: dev
  45. datasource:
  46. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  47. username: weifuwu
  48. password: weifuwu
  49. redis:
  50. host: 172.19.103.47 # Redis server host.
  51. port: 6379
  52. password: redis!@456
  53. fast-dfs:
  54. tracker-server: 172.19.103.13:22122
  55. public-server: http://172.19.103.52:80
  56. ---
  57. spring:
  58. profiles: test
  59. datasource:
  60. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  61. username: weifuwu
  62. password: weifuwu
  63. redis:
  64. host: 172.19.103.47 # Redis server host.
  65. port: 6379
  66. password: redis!@456
  67. fast-dfs:
  68. tracker-server: 172.19.103.13:22122
  69. public-server: http://172.19.103.52:80
  70. ---
  71. spring:
  72. profiles: prod_fz
  73. datasource:
  74. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  75. username: healthcloud
  76. password: GP8Qz4qU
  77. redis:
  78. host: 11.1.2.22 # Redis server host.
  79. port: 6390
  80. password: Kb6wKDQP1W4
  81. fast-dfs:
  82. tracker-server: 11.1.2.9:22122
  83. public-server: http://11.1.2.9:80
  84. ---
  85. spring:
  86. profiles: prod_sr
  87. datasource:
  88. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  89. username: healthcloud
  90. password: GP8Qz4qU
  91. redis:
  92. host: 10.176.97.5 # Redis server host.
  93. port: 6390
  94. password: q4YaQemf
  95. fast-dfs:
  96. tracker-server: 10.176.97.5:22122
  97. public-server: http://10.176.97.5:8888
  98. ---
  99. spring:
  100. profiles: prod_fzzy
  101. datasource:
  102. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  103. username: healthcloud
  104. password: GP8Qz4qU
  105. redis:
  106. host: 100.100.1.161 # Redis server host.
  107. port: 6390
  108. password: q4YaQemf
  109. fast-dfs:
  110. tracker-server: 100.100.1.157:22122
  111. public-server: http://100.100.1.157:8888