svr-pack-mgr.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. fast-dfs:
  6. pool:
  7. init-size: 5
  8. max-size: 20
  9. wait-time: 500
  10. connect-timeout: 2
  11. network-timeout: 30
  12. charset: ISO8859-1
  13. http:
  14. tracker-http-port: 80
  15. anti-steal-token: no
  16. secret-key: FastDFS1234567890
  17. spring:
  18. # REDIS
  19. redis:
  20. database: 0 # Database index used by the connection factory.
  21. port: 6379 # Redis server port.
  22. password: # Login password of the redis server.
  23. timeout: 0 # Connection timeout in milliseconds.
  24. #sentinel:
  25. # master: # Name of Redis server.
  26. # nodes: # Comma-separated list of host:port pairs.
  27. pool:
  28. 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.
  29. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  30. 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.
  31. 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.
  32. ---
  33. spring:
  34. profiles: dev
  35. redis:
  36. host: 192.168.1.220 # Redis server host.
  37. metrics:
  38. export:
  39. statsd:
  40. host: 192.168.1.221
  41. port: 8125
  42. fast-dfs:
  43. tracker-server: 172.19.103.54:22122
  44. public-server: http://172.19.103.54:22122
  45. ---
  46. spring:
  47. profiles: alpha
  48. redis:
  49. host: 192.168.1.220 # Redis server host.
  50. metrics:
  51. export:
  52. statsd:
  53. host: 192.168.1.221
  54. port: 8125
  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: test
  61. redis:
  62. host: 172.19.103.47 # Redis server host.
  63. metrics:
  64. export:
  65. statsd:
  66. host: 192.168.1.221
  67. port: 8125
  68. fast-dfs:
  69. tracker-server: 172.19.103.13:22122
  70. public-server: http://172.19.103.52:80
  71. ---
  72. spring:
  73. profiles: prod
  74. redis:
  75. host: 11.1.2.20 # Redis server host.
  76. fast-dfs:
  77. tracker-server: 11.1.2.9:22122
  78. public-server: http://ds.ehr.yihu.com:22122