svr-pack-mgr.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. logging:
  2. level:
  3. com:
  4. netflix: ERROR
  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. data-source:
  47. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  48. user-name: ha
  49. password: ha
  50. fast-dfs:
  51. tracker-server: 172.19.103.54:22122
  52. ---
  53. spring:
  54. profiles: test
  55. redis:
  56. host: 172.19.103.47 # Redis server host.
  57. data-source:
  58. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  59. user-name: weifuwu
  60. password: weifuwu
  61. fast-dfs:
  62. tracker-server: 172.19.103.13:22122
  63. ---
  64. spring:
  65. profiles: prod
  66. redis:
  67. host: 11.1.2.20 # Redis server host.
  68. fast-dfs:
  69. tracker-server: 11.1.2.9:22122
  70. data-source:
  71. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  72. user-name: ha
  73. password: jkzlxm