svr-health-profiles.yml 2.7 KB

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