svr-pack-mgr.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. fast-dfs:
  15. pool:
  16. init-size: 5
  17. max-size: 20
  18. wait-time: 500
  19. connect-timeout: 2
  20. network-timeout: 30
  21. charset: ISO8859-1
  22. http:
  23. tracker-http-port: 80
  24. anti-steal-token: no
  25. secret-key: FastDFS1234567890
  26. spring:
  27. # REDIS
  28. redis:
  29. database: 0 # Database index used by the connection factory.
  30. port: 6379 # Redis server port.
  31. password: # Login password of the redis server.
  32. timeout: 0 # Connection timeout in milliseconds.
  33. #sentinel:
  34. # master: # Name of Redis server.
  35. # nodes: # Comma-separated list of host:port pairs.
  36. pool:
  37. 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.
  38. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  39. 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.
  40. 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.
  41. ---
  42. spring:
  43. profiles: dev
  44. redis:
  45. host: 192.168.1.220 # Redis server host.
  46. metrics:
  47. export:
  48. statsd:
  49. host: 192.168.1.221
  50. port: 8125
  51. data-source:
  52. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  53. user-name: ha
  54. password: ha
  55. fast-dfs:
  56. tracker-server: 172.19.103.54:22122
  57. public-server: http://172.19.103.54:22122
  58. ---
  59. spring:
  60. profiles: alpha
  61. redis:
  62. host: 192.168.1.220 # Redis server host.
  63. metrics:
  64. export:
  65. statsd:
  66. host: 192.168.1.221
  67. port: 8125
  68. data-source:
  69. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  70. user-name: ha
  71. password: ha
  72. fast-dfs:
  73. tracker-server: 172.19.103.54:22122
  74. public-server: http://172.19.103.54:22122
  75. ---
  76. spring:
  77. profiles: test
  78. redis:
  79. host: 172.19.103.47 # Redis server host.
  80. metrics:
  81. export:
  82. statsd:
  83. host: 192.168.1.221
  84. port: 8125
  85. data-source:
  86. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  87. user-name: weifuwu
  88. password: weifuwu
  89. fast-dfs:
  90. tracker-server: 172.19.103.13:22122
  91. public-server: http://172.19.103.52:80
  92. ---
  93. spring:
  94. profiles: prod
  95. redis:
  96. host: 11.1.2.20 # Redis server host.
  97. fast-dfs:
  98. tracker-server: 11.1.2.9:22122
  99. public-server: http://ds.ehr.yihu.com:22122
  100. data-source:
  101. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  102. user-name: ha
  103. password: jkzlxm