svr-ehr-basic.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. ---
  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. fast-dfs:
  73. tracker-server: 172.19.103.54:22122
  74. public-server: http://172.19.103.54
  75. ---
  76. spring:
  77. profiles: test
  78. datasource:
  79. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  80. username: weifuwu
  81. password: weifuwu
  82. data:
  83. mongodb:
  84. host: 192.168.1.220
  85. port: 27017
  86. username: admin
  87. password: admin
  88. authenticationDatabase: admin
  89. database: ehr
  90. fast-dfs:
  91. tracker-server: 172.19.103.13:22122
  92. public-server: http://172.19.103.52:80
  93. ---
  94. spring:
  95. profiles: prod
  96. datasource:
  97. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  98. username: ha
  99. password: jkzlxm
  100. fast-dfs:
  101. tracker-server: 11.1.2.9:22122
  102. public-server: http://ds.ehr.yihu.com:22122
  103. ---
  104. spring:
  105. profiles: prod_fz
  106. datasource:
  107. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  108. username: sr_healtharchive
  109. password: data!@)1
  110. data:
  111. mongodb:
  112. host: 192.168.135.41
  113. port: 29000
  114. username: sr_ehr
  115. password: ehr@#(2^
  116. authenticationDatabase: admin
  117. database: ehr
  118. fast-dfs:
  119. tracker-server: 192.168.135.42:22122
  120. public-server: http://192.168.135.42:22122
  121. ---
  122. spring:
  123. profiles: prod_sr
  124. datasource:
  125. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  126. username: healthcloud
  127. password: GP8Qz4qU
  128. data:
  129. mongodb:
  130. host: 10.176.97.9
  131. port: 29000
  132. username: jkzlehr
  133. password: GMLBq1LG
  134. authenticationDatabase: admin
  135. database: ehr
  136. fast-dfs:
  137. tracker-server: 10.176.97.5:22122
  138. public-server: http://10.176.97.5:22122