svr-pack-mgr.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. datasource:
  33. driver-class-name: com.mysql.jdbc.Driver
  34. max-active: 20
  35. max-idle: 8
  36. min-idle: 8
  37. validation-query: SELECT 1
  38. test-on-borrow: true
  39. ---
  40. spring:
  41. profiles: dev
  42. datasource:
  43. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  44. username: ha
  45. password: ha
  46. redis:
  47. host: 192.168.1.220 # Redis server host.
  48. metrics:
  49. export:
  50. statsd:
  51. host: 192.168.1.221
  52. port: 8125
  53. fast-dfs:
  54. tracker-server: 172.19.103.54:22122
  55. public-server: http://172.19.103.54:22122
  56. ---
  57. spring:
  58. profiles: alpha
  59. datasource:
  60. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  61. username: ha
  62. password: ha
  63. redis:
  64. host: 192.168.1.220 # Redis server host.
  65. metrics:
  66. export:
  67. statsd:
  68. host: 192.168.1.221
  69. port: 8125
  70. fast-dfs:
  71. tracker-server: 172.19.103.54:22122
  72. public-server: http://172.19.103.54:22122
  73. ---
  74. spring:
  75. profiles: test
  76. datasource:
  77. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  78. username: weifuwu
  79. password: weifuwu
  80. redis:
  81. host: 172.19.103.47 # Redis server host.
  82. metrics:
  83. export:
  84. statsd:
  85. host: 192.168.1.221
  86. port: 8125
  87. fast-dfs:
  88. tracker-server: 172.19.103.13:22122
  89. public-server: http://172.19.103.52:80
  90. ---
  91. spring:
  92. profiles: prod
  93. datasource:
  94. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  95. username: ha
  96. password: jkzlxm
  97. redis:
  98. host: 11.1.2.20 # Redis server host.
  99. fast-dfs:
  100. tracker-server: 11.1.2.9:22122
  101. public-server: http://ds.ehr.yihu.com:22122