svr-pack-mgr.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. fast-dfs:
  2. pool:
  3. init-size: 5
  4. max-size: 20
  5. wait-time: 500
  6. connect-timeout: 2
  7. network-timeout: 30
  8. charset: ISO8859-1
  9. http:
  10. tracker-http-port: 80
  11. anti-steal-token: no
  12. secret-key: FastDFS1234567890
  13. spring:
  14. # REDIS
  15. redis:
  16. database: 0 # Database index used by the connection factory.
  17. timeout: 0 # Connection timeout in milliseconds.
  18. #sentinel:
  19. # master: # Name of Redis server.
  20. # nodes: # Comma-separated list of host:port pairs.
  21. pool:
  22. 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.
  23. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  24. 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.
  25. 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.
  26. datasource:
  27. driver-class-name: com.mysql.jdbc.Driver
  28. max-active: 20
  29. max-idle: 8
  30. min-idle: 8
  31. validation-query: SELECT 1
  32. test-on-borrow: true
  33. eip:
  34. tenant: jkzl
  35. ---
  36. spring:
  37. profiles: dev
  38. datasource:
  39. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  40. username: weifuwu
  41. password: weifuwu
  42. redis:
  43. host: 172.19.103.47 # Redis server host.
  44. port: 6379
  45. password: redis!@456
  46. metrics:
  47. export:
  48. statsd:
  49. host: 192.168.1.221
  50. port: 8125
  51. fast-dfs:
  52. tracker-server: 172.19.103.13:22122
  53. public-server: http://172.19.103.52:80
  54. ---
  55. spring:
  56. profiles: test
  57. datasource:
  58. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  59. username: weifuwu
  60. password: weifuwu
  61. redis:
  62. host: 172.19.103.47 # Redis server host.
  63. port: 6379
  64. password: redis!@456
  65. metrics:
  66. export:
  67. statsd:
  68. host: 192.168.1.221
  69. port: 8125
  70. fast-dfs:
  71. tracker-server: 172.19.103.13:22122
  72. public-server: http://172.19.103.52:80
  73. ---
  74. spring:
  75. profiles: prod_fz
  76. datasource:
  77. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  78. username: healthcloud
  79. password: GP8Qz4qU
  80. redis:
  81. host: 11.1.2.22 # Redis server host.
  82. port: 6390
  83. password: Kb6wKDQP1W4
  84. fast-dfs:
  85. tracker-server: 11.1.2.9:22122
  86. public-server: http://11.1.2.9:80
  87. ---
  88. spring:
  89. profiles: prod_sr
  90. datasource:
  91. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  92. username: healthcloud
  93. password: GP8Qz4qU
  94. redis:
  95. host: 10.176.97.5 # Redis server host.
  96. port: 6390
  97. password: q4YaQemf
  98. fast-dfs:
  99. tracker-server: 10.176.97.5:22122
  100. public-server: http://10.176.97.5:8888
  101. ---
  102. spring:
  103. profiles: prod_fzzy
  104. datasource:
  105. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  106. username: healthcloud
  107. password: GP8Qz4qU
  108. redis:
  109. host: 100.100.1.161 # Redis server host.
  110. port: 6390
  111. password: q4YaQemf
  112. fast-dfs:
  113. tracker-server: 100.100.1.157:22122
  114. public-server: http://100.100.1.157:8888