svr-pack-resolve.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. hadoop:
  53. hbase-properties:
  54. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  55. ---
  56. spring:
  57. profiles: test
  58. redis:
  59. host: 172.19.103.47 # Redis server host.
  60. data:
  61. solr:
  62. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  63. 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.
  64. fast-dfs:
  65. tracker-server: 172.19.103.13:22122
  66. hadoop:
  67. hbase-properties:
  68. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  69. ---
  70. spring:
  71. profiles: prod
  72. redis:
  73. host: 11.1.2.20 # Redis server host.
  74. data:
  75. solr:
  76. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  77. 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.
  78. fast-dfs:
  79. tracker-server: 11.1.2.9:22122
  80. hadoop:
  81. hbase-properties:
  82. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com