svr-profile-statistics.yml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. port: 6379 # Redis server port.
  14. password: # Login password of the redis server.
  15. timeout: 0 # Connection timeout in milliseconds.
  16. #sentinel:
  17. # master: # Name of Redis server.
  18. # nodes: # Comma-separated list of host:port pairs.
  19. pool:
  20. 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.
  21. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  22. 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.
  23. 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.
  24. # SOLR (SolrProperties)
  25. data:
  26. solr:
  27. repositories.enabled: true # Enable Solr repositories.
  28. datasource:
  29. driver-class-name: com.mysql.jdbc.Driver
  30. max-active: 20
  31. max-idle: 8
  32. min-idle: 8
  33. validation-query: SELECT 1
  34. test-on-borrow: true
  35. fast-dfs:
  36. pool:
  37. init-size: 5
  38. max-size: 20
  39. wait-time: 500
  40. connect-timeout: 2
  41. network-timeout: 30
  42. charset: ISO8859-1
  43. http:
  44. tracker-http-port: 80
  45. anti-steal-token: no
  46. secret-key: FastDFS1234567890
  47. ---
  48. spring:
  49. profiles: dev
  50. redis:
  51. host: 192.168.1.220 # Redis server host.
  52. data:
  53. solr:
  54. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  55. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  56. datasource:
  57. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  58. username: ha
  59. password: ha
  60. fast-dfs:
  61. tracker-server: 172.19.103.54:22122
  62. public-server: http://172.19.103.54:80
  63. ---
  64. spring:
  65. profiles: alpha
  66. redis:
  67. host: 192.168.1.220 # Redis server host.
  68. data:
  69. solr:
  70. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  71. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  72. datasource:
  73. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  74. username: ha
  75. password: ha
  76. fast-dfs:
  77. tracker-server: 172.19.103.54:22122
  78. public-server: http://172.19.103.54:80
  79. ---
  80. spring:
  81. profiles: test
  82. redis:
  83. host: 172.19.103.47 # Redis server host.
  84. data:
  85. solr:
  86. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  87. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  88. datasource:
  89. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  90. username: weifuwu
  91. password: weifuwu
  92. fast-dfs:
  93. tracker-server: 172.19.103.54:22122
  94. public-server: http://172.19.103.54:80
  95. ---
  96. spring:
  97. profiles: prod
  98. redis:
  99. host: 11.1.2.20 # Redis server host.
  100. data:
  101. solr:
  102. zk-host: 11.1.2.51,11.1.2.52,11.1.2.53:2181/solr # ZooKeeper host address in the form HOST:PORT.
  103. datasource:
  104. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  105. username: ha
  106. password: jkzlxm
  107. fast-dfs:
  108. tracker-server: 11.1.2.9:22122
  109. public-server: http://ds.ehr.yihu.com:22122