svr-pack-resolve.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. data-source:
  6. driver-class-name: com.mysql.jdbc.Driver
  7. initialize-size: 1
  8. max-total: 20
  9. max-idle: 10
  10. min-idle: 1
  11. validation-query: SELECT 1
  12. test-on-borrow: true
  13. remove-abandoned-timeout: 55
  14. spring:
  15. # REDIS
  16. redis:
  17. database: 0 # Database index used by the connection factory.
  18. port: 6379 # Redis server port.
  19. password: # Login password of the redis server.
  20. timeout: 0 # Connection timeout in milliseconds.
  21. #sentinel:
  22. # master: # Name of Redis server.
  23. # nodes: # Comma-separated list of host:port pairs.
  24. pool:
  25. 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.
  26. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  27. 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.
  28. 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.
  29. # SOLR (SolrProperties)
  30. data:
  31. solr:
  32. repositories.enabled: true # Enable Solr repositories.
  33. fast-dfs:
  34. pool:
  35. init-size: 5
  36. max-size: 20
  37. wait-time: 500
  38. connect-timeout: 2
  39. network-timeout: 30
  40. fast-dfs:
  41. charset: ISO8859-1
  42. http:
  43. tracker-http-port: 80
  44. anti-steal-token: no
  45. secret-key: FastDFS1234567890
  46. profile:
  47. data-buffer-size: 200 # HBase batch insert record buffer size.
  48. #error code and message
  49. ---
  50. spring:
  51. profiles: dev
  52. redis:
  53. host: 192.168.1.220 # Redis server host.
  54. data:
  55. solr:
  56. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  57. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  58. data-source:
  59. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  60. user-name: ha
  61. password: ha
  62. fast-dfs:
  63. tracker-server: 172.19.103.54:22122
  64. ---
  65. spring:
  66. profiles: test
  67. redis:
  68. host: 172.19.103.47 # Redis server host.
  69. data:
  70. solr:
  71. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  72. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  73. data-source:
  74. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  75. username: fujian
  76. password: fujian
  77. fast-dfs:
  78. tracker-server: 172.19.103.13:22122
  79. ---
  80. spring:
  81. profiles: prod
  82. redis:
  83. host: 11.1.2.20 # Redis server host.
  84. data:
  85. solr:
  86. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  87. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  88. data-source:
  89. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  90. username: ha
  91. password: jkzlxm
  92. fast-dfs:
  93. tracker-server: 11.1.2.9:22122