svr-ehr-basic.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. server:
  10. port: ${svr-ehr-basic.server.port}
  11. management:
  12. port: ${server.port}
  13. fast-dfs:
  14. pool:
  15. init-size: 5
  16. max-size: 20
  17. wait-time: 500
  18. connect-timeout: 2
  19. network-timeout: 30
  20. charset: ISO8859-1
  21. http:
  22. tracker-http-port: 80
  23. anti-steal-token: no
  24. secret-key: FastDFS1234567890
  25. spring:
  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. # REDIS
  34. redis:
  35. database: 0 # Database index used by the connection factory.
  36. port: 6379 # Redis server port.
  37. password: # Login password of the redis server.
  38. timeout: 0 # Connection timeout in milliseconds.
  39. #sentinel:
  40. # master: # Name of Redis server.
  41. # nodes: # Comma-separated list of host:port pairs.
  42. pool:
  43. 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.
  44. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  45. 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.
  46. 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.
  47. ---
  48. spring:
  49. profiles: dev
  50. datasource:
  51. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  52. username: weifuwu
  53. password: weifuwu
  54. data:
  55. mongodb:
  56. host: 192.168.1.220
  57. port: 27017
  58. username: admin
  59. password: admin
  60. authenticationDatabase: admin
  61. database: ehr
  62. fast-dfs:
  63. tracker-server: 172.19.103.13:22122
  64. public-server: http://172.19.103.52:80
  65. eip:
  66. schema: hos1
  67. tenant: ehr
  68. ---
  69. spring:
  70. profiles: alpha
  71. datasource:
  72. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  73. username: ha
  74. password: ha
  75. fast-dfs:
  76. tracker-server: 172.19.103.54:22122
  77. public-server: http://172.19.103.54
  78. eip:
  79. schema: hos1
  80. tenant: ehr
  81. ---
  82. spring:
  83. profiles: test
  84. datasource:
  85. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  86. username: weifuwu
  87. password: weifuwu
  88. data:
  89. mongodb:
  90. host: 192.168.1.220
  91. port: 27017
  92. username: admin
  93. password: admin
  94. authenticationDatabase: admin
  95. database: ehr
  96. fast-dfs:
  97. tracker-server: 172.19.103.13:22122
  98. public-server: http://172.19.103.52:80
  99. eip:
  100. schema: hos1
  101. tenant: ehr
  102. ---
  103. spring:
  104. profiles: prod
  105. datasource:
  106. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  107. username: ha
  108. password: jkzlxm
  109. fast-dfs:
  110. tracker-server: 11.1.2.9:22122
  111. public-server: http://ds.ehr.yihu.com:22122
  112. eip:
  113. schema: hos1
  114. tenant: ehr
  115. ---
  116. spring:
  117. profiles: prod_fz
  118. datasource:
  119. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  120. username: sr_healtharchive
  121. password: data!@)1
  122. data:
  123. mongodb:
  124. host: 192.168.135.41
  125. port: 29000
  126. username: sr_ehr
  127. password: ehr@#(2^
  128. authenticationDatabase: admin
  129. database: ehr
  130. fast-dfs:
  131. tracker-server: 192.168.135.42:22122
  132. public-server: http://192.168.135.42:22122
  133. eip:
  134. schema: hos1
  135. tenant: ehr
  136. ---
  137. spring:
  138. profiles: prod_sr
  139. datasource:
  140. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  141. username: healthcloud
  142. password: GP8Qz4qU
  143. data:
  144. mongodb:
  145. host: 10.176.97.9
  146. port: 29000
  147. username: jkzlehr
  148. password: GMLBq1LG
  149. authenticationDatabase: admin
  150. database: ehr
  151. fast-dfs:
  152. tracker-server: 10.176.97.5:22122
  153. public-server: http://10.176.97.5:22122
  154. eip:
  155. schema: hos1
  156. tenant: ehr