svr-pack-mgr.yml 4.0 KB

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