svr-health-profiles.yml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. ---
  35. spring:
  36. profiles: dev
  37. redis:
  38. host: 172.19.103.47 # Redis server host.
  39. data:
  40. solr:
  41. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  42. 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.
  43. data-source:
  44. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  45. user-name: ha
  46. password: ha
  47. ---
  48. spring:
  49. profiles: test
  50. redis:
  51. host: 172.17.110.68 # Redis server host.
  52. data:
  53. solr:
  54. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  55. 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.
  56. data-source:
  57. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  58. username: fujian
  59. password: fujian
  60. ---
  61. spring:
  62. profiles: prod
  63. redis:
  64. host: 11.1.2.20 # Redis server host.
  65. data:
  66. solr:
  67. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  68. 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.
  69. data-source:
  70. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  71. username: ha
  72. password: jkzlxm