svr-pack-resolve.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. host: localhost # Redis server host.
  19. port: 6379 # Redis server port.
  20. password: # Login password of the redis server.
  21. timeout: 0 # Connection timeout in milliseconds.
  22. #sentinel:
  23. # master: # Name of Redis server.
  24. # nodes: # Comma-separated list of host:port pairs.
  25. pool:
  26. 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.
  27. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  28. 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.
  29. 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.
  30. # SOLR (SolrProperties)
  31. data:
  32. solr:
  33. repositories.enabled: true # Enable Solr repositories.
  34. fast-dfs:
  35. pool:
  36. init-size: 5
  37. max-size: 20
  38. wait-time: 500
  39. connect-timeout: 2
  40. network-timeout: 30
  41. fast-dfs:
  42. charset: ISO8859-1
  43. http:
  44. tracker-http-port: 80
  45. anti-steal-token: no
  46. secret-key: FastDFS1234567890
  47. profile:
  48. data-buffer-size: 200 # 记录缓冲区数量
  49. #error code and message
  50. ---
  51. spring:
  52. profiles: dev
  53. redis:
  54. host: 172.19.103.47 # Redis server host.
  55. data:
  56. solr:
  57. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  58. 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.
  59. data-source:
  60. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  61. user-name: ha
  62. password: ha
  63. fast-dfs:
  64. tracker-server: 172.19.103.54:22122
  65. ---
  66. spring:
  67. profiles: test
  68. redis:
  69. host: 172.17.110.68 # Redis server host.
  70. data:
  71. solr:
  72. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  73. 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.
  74. data-source:
  75. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  76. username: fujian
  77. password: fujian
  78. fast-dfs:
  79. tracker-server: 172.19.103.13:22122
  80. ---
  81. spring:
  82. profiles: prod
  83. redis:
  84. host: 11.1.2.20 # Redis server host.
  85. data:
  86. solr:
  87. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  88. 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.
  89. data-source:
  90. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  91. username: ha
  92. password: jkzlxm
  93. fast-dfs:
  94. tracker-server: 11.1.2.9:22122