svr-standard.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. common.query.not.found: 该{0}不存在:{1}
  10. common.miss.parameter: 参数不能为空:{0}!
  11. common.notfound.entity: 没有找到{0}实体:{}
  12. std.version.invalid.stage: 该版本不处于编辑状态!
  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. # REDIS
  27. redis:
  28. database: 0 # Database index used by the connection factory.
  29. port: 6379 # Redis server port.
  30. password: # Login password of the redis server.
  31. timeout: 0 # Connection timeout in milliseconds.
  32. #sentinel:
  33. # master: # Name of Redis server.
  34. # nodes: # Comma-separated list of host:port pairs.
  35. pool:
  36. 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.
  37. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  38. 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.
  39. 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.
  40. # SOLR (SolrProperties)
  41. data:
  42. solr:
  43. repositories.enabled: true # Enable Solr repositories.
  44. datasource:
  45. driver-class-name: com.mysql.jdbc.Driver
  46. max-active: 20
  47. max-idle: 8
  48. min-idle: 8
  49. validation-query: SELECT 1
  50. test-on-borrow: true
  51. ---
  52. spring:
  53. profiles: dev
  54. datasource:
  55. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  56. username: weifuwu
  57. password: weifuwu
  58. redis:
  59. host: 172.19.103.47 # Redis server host.
  60. port: 6379
  61. password: redis!@456
  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. redis:
  73. host: 192.168.1.220 # Redis server host.
  74. fast-dfs:
  75. tracker-server: 172.19.103.54:22122
  76. public-server: http://172.19.103.54:22122
  77. ---
  78. spring:
  79. profiles: test
  80. datasource:
  81. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  82. username: weifuwu
  83. password: weifuwu
  84. redis:
  85. host: 172.19.103.47 # Redis server host.
  86. fast-dfs:
  87. tracker-server: 172.19.103.13:22122
  88. public-server: http://172.19.103.52:80
  89. ---
  90. spring:
  91. profiles: prod
  92. datasource:
  93. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  94. username: ha
  95. password: jkzlxm
  96. redis:
  97. host: 11.1.2.20 # Redis server host.
  98. fast-dfs:
  99. tracker-server: 11.1.2.9:22122
  100. public-server: http://ds.ehr.yihu.com:22122
  101. ---
  102. spring:
  103. profiles: prod_fz
  104. datasource:
  105. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  106. username: sr_healtharchive
  107. password: data!@)1
  108. redis:
  109. host: 192.168.135.40 # Redis server host.
  110. port: 6390
  111. password: redis!@456
  112. fast-dfs:
  113. tracker-server: 192.168.135.42:22122
  114. public-server: http://192.168.135.42:22122
  115. ---
  116. spring:
  117. profiles: prod_sr
  118. datasource:
  119. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  120. username: healthcloud
  121. password: GP8Qz4qU
  122. redis:
  123. host: 10.176.97.5 # Redis server host.
  124. port: 6390
  125. password: q4YaQemf
  126. fast-dfs:
  127. tracker-server: 10.176.97.5:22122
  128. public-server: http://10.176.97.5:22122