svr-health-profile.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. spring:
  10. # REDIS
  11. redis:
  12. database: 0 # Database index used by the connection factory.
  13. #host: 172.19.103.47 # Redis server host.
  14. port: 6379 # Redis server port.
  15. password: # Login password of the redis server.
  16. timeout: 0 # Connection timeout in milliseconds.
  17. #sentinel:
  18. # master: # Name of Redis server.
  19. # nodes: # Comma-separated list of host:port pairs.
  20. pool:
  21. 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.
  22. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  23. 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.
  24. 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.
  25. # SOLR (SolrProperties)
  26. datasource:
  27. driver-class-name: com.mysql.jdbc.Driver
  28. max-active: 20
  29. max-idle: 8
  30. min-idle: 8
  31. validation-query: SELECT 1
  32. test-on-borrow: true
  33. fast-dfs:
  34. pool:
  35. init-size: 5
  36. max-size: 20
  37. wait-time: 500
  38. connect-timeout: 2
  39. network-timeout: 30
  40. charset: ISO8859-1
  41. http:
  42. tracker-http-port: 80
  43. anti-steal-token: no
  44. secret-key: FastDFS1234567890
  45. # 就诊事件与CDA文档类型关联
  46. cda-document-type-options:
  47. event-type:
  48. - "0": 0dae00065684c9920dc35654490aa9ac # 门诊
  49. - "1": 0dae00065684cb220dc35654490aa9ae # 住院
  50. ---
  51. spring:
  52. profiles: dev
  53. datasource:
  54. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  55. username: weifuwu
  56. password: weifuwu
  57. redis:
  58. host: 172.19.103.47 # Redis server host.
  59. port: 6379
  60. password: redis!@456
  61. application:
  62. id: JKZL
  63. fast-dfs:
  64. tracker-server: 172.19.103.13:22122
  65. public-server: http://172.19.103.52:80
  66. ---
  67. spring:
  68. profiles: alpha
  69. datasource:
  70. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  71. username: ha
  72. password: ha
  73. application:
  74. id: JKZL
  75. fast-dfs:
  76. tracker-server: 172.19.103.54:22122
  77. public-server: http://172.19.103.54:80
  78. ---
  79. spring:
  80. profiles: test
  81. datasource:
  82. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  83. username: weifuwu
  84. password: weifuwu
  85. application:
  86. id: JKZL
  87. fast-dfs:
  88. tracker-server: 172.19.103.13:22122
  89. public-server: http://172.19.103.52:80
  90. ---
  91. spring:
  92. profiles: prod
  93. datasource:
  94. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  95. username: ha
  96. password: jkzlxm
  97. application:
  98. id: JKZL
  99. fast-dfs:
  100. tracker-server: 11.1.2.9:22122
  101. public-server: http://ds.ehr.yihu.com:22122
  102. ---
  103. spring:
  104. profiles: prod_fz
  105. datasource:
  106. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  107. username: sr_healtharchive
  108. password: data!@)1
  109. application:
  110. id: JKZL
  111. fast-dfs:
  112. tracker-server: 192.168.135.42:22122
  113. public-server: http://192.168.135.42:22122
  114. ---
  115. spring:
  116. profiles: prod_sr
  117. datasource:
  118. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  119. username: healthcloud
  120. password: GP8Qz4qU
  121. redis:
  122. host: 10.176.97.5 # Redis server host.
  123. port: 6390
  124. password: q4YaQemf
  125. application:
  126. id: JKZL
  127. fast-dfs:
  128. tracker-server: 10.176.97.5:22122
  129. public-server: http://10.176.97.5:22122