svr-pack-resolve.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. data-source:
  2. driver-class-name: com.mysql.jdbc.Driver
  3. initialize-size: 1
  4. max-total: 20
  5. max-idle: 10
  6. min-idle: 1
  7. validation-query: SELECT 1
  8. test-on-borrow: true
  9. remove-abandoned-timeout: 55
  10. hibernate:
  11. dialect: org.hibernate.dialect.MySQL5Dialect
  12. redis:
  13. connection-factory:
  14. port: 6379
  15. pool:
  16. max-total: 10
  17. max-idle: 5
  18. min-idle: 3
  19. fast-dfs:
  20. pool:
  21. init-size: 5
  22. max-size: 20
  23. wait-time: 500
  24. connect-timeout: 2
  25. network-timeout: 30
  26. fast-dfs:
  27. charset: ISO8859-1
  28. http:
  29. tracker-http-port: 80
  30. anti-steal-token: no
  31. secret-key: FastDFS1234567890
  32. solr:
  33. zkClientTimeout: 10000
  34. zkConnectTimeout: 10000
  35. profile:
  36. data-buffer-size: 200 # 记录缓冲区数量
  37. #error code and message
  38. ---
  39. spring:
  40. profiles: dev
  41. data-source:
  42. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  43. user-name: ha
  44. password: ha
  45. hibernate:
  46. show-sql: true
  47. format-sql: true
  48. redis:
  49. connection-factory:
  50. host-name: 172.19.103.47
  51. fast-dfs:
  52. tracker-server: 172.19.103.54:22122
  53. solr:
  54. server: http://172.19.103.10:8983/solr
  55. zookeeper: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr
  56. ---
  57. spring:
  58. profiles: test
  59. data-source:
  60. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  61. username: fujian
  62. password: fujian
  63. hibernate:
  64. hibernate-properties:
  65. hibernate:
  66. show-sql: true
  67. format-sql: true
  68. redis:
  69. connection-factory:
  70. host-name: 172.17.110.68
  71. fast-dfs:
  72. tracker-server: 172.19.103.13:22122
  73. solr:
  74. server: http://172.19.103.10:8983/solr
  75. zookeeper: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr
  76. ---
  77. spring:
  78. profiles: prod
  79. data-source:
  80. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  81. username: ha
  82. password: jkzlxm
  83. hibernate:
  84. hibernate-properties:
  85. hibernate:
  86. show-sql: false
  87. format-sql: false
  88. redis:
  89. connection-factory:
  90. host-name: 11.1.2.20
  91. fast-dfs:
  92. tracker-server: 11.1.2.9:22122
  93. solr:
  94. server: http://172.19.103.10:8983/solr
  95. zookeeper: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr