svr-pack-resolve.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. spring:
  6. # REDIS
  7. redis:
  8. database: 0 # Database index used by the connection factory.
  9. port: 6379 # Redis server port.
  10. password: # Login password of the redis server.
  11. timeout: 0 # Connection timeout in milliseconds.
  12. #sentinel:
  13. # master: # Name of Redis server.
  14. # nodes: # Comma-separated list of host:port pairs.
  15. pool:
  16. 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.
  17. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  18. 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.
  19. 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.
  20. # SOLR (SolrProperties)
  21. data:
  22. solr:
  23. repositories.enabled: true # Enable Solr repositories.
  24. fast-dfs:
  25. pool:
  26. init-size: 5
  27. max-size: 20
  28. wait-time: 500
  29. connect-timeout: 2
  30. network-timeout: 30
  31. charset: ISO8859-1
  32. http:
  33. tracker-http-port: 80
  34. anti-steal-token: no
  35. secret-key: FastDFS1234567890
  36. hadoop:
  37. hbase-properties:
  38. - hbase.zookeeper.property.clientPort: 2181
  39. - zookeeper.znode.parent: /hbase-unsecure
  40. #error code and message
  41. ---
  42. spring:
  43. profiles: dev
  44. redis:
  45. host: 192.168.1.220 # Redis server host.
  46. data:
  47. solr:
  48. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  49. 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.
  50. fast-dfs:
  51. tracker-server: 172.19.103.54:22122
  52. public-server: http://172.19.103.54:22122
  53. hadoop:
  54. hbase-properties:
  55. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  56. ---
  57. spring:
  58. profiles: test
  59. redis:
  60. host: 172.19.103.47 # Redis server host.
  61. data:
  62. solr:
  63. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  64. 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.
  65. fast-dfs:
  66. tracker-server: 172.19.103.13:22122
  67. public-server: http://172.19.103.52:80
  68. hadoop:
  69. hbase-properties:
  70. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  71. ---
  72. spring:
  73. profiles: prod
  74. redis:
  75. host: 11.1.2.20 # Redis server host.
  76. data:
  77. solr:
  78. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  79. 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.
  80. fast-dfs:
  81. tracker-server: 11.1.2.9:22122
  82. public-server: http://ds.ehr.yihu.com:22122
  83. hadoop:
  84. hbase-properties:
  85. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com