svr-standard.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. logging:
  2. level:
  3. com:
  4. netflix: ERROR
  5. common.query.not.found: 该{0}不存在:{1}
  6. common.miss.parameter: 参数不能为空:{0}!
  7. common.notfound.entity: 没有找到{0}实体:{}
  8. std.version.invalid.stage: 该版本不处于编辑状态!
  9. data-source:
  10. driver-class-name: com.mysql.jdbc.Driver
  11. initialize-size: 1
  12. max-total: 20
  13. max-idle: 10
  14. min-idle: 1
  15. validation-query: SELECT 1
  16. test-on-borrow: true
  17. remove-abandoned-timeout: 55
  18. hibernate:
  19. dialect: org.hibernate.dialect.MySQL5Dialect
  20. fast-dfs:
  21. pool:
  22. init-size: 5
  23. max-size: 20
  24. wait-time: 500
  25. connect-timeout: 2
  26. network-timeout: 30
  27. charset: ISO8859-1
  28. http:
  29. tracker-http-port: 80
  30. anti-steal-token: no
  31. secret-key: FastDFS1234567890
  32. spring:
  33. # REDIS
  34. redis:
  35. database: 0 # Database index used by the connection factory.
  36. port: 6379 # Redis server port.
  37. password: # Login password of the redis server.
  38. timeout: 0 # Connection timeout in milliseconds.
  39. #sentinel:
  40. # master: # Name of Redis server.
  41. # nodes: # Comma-separated list of host:port pairs.
  42. pool:
  43. 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.
  44. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  45. 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.
  46. 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.
  47. # SOLR (SolrProperties)
  48. data:
  49. solr:
  50. repositories.enabled: true # Enable Solr repositories.
  51. ---
  52. spring:
  53. profiles: dev
  54. redis:
  55. host: 192.168.1.220 # Redis server host.
  56. hibernate:
  57. show-sql: true
  58. format-sql: true
  59. fast-dfs:
  60. tracker-server: 172.19.103.54:22122
  61. public-server: 172.19.103.54:22122
  62. data-source:
  63. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  64. user-name: ha
  65. password: ha
  66. ---
  67. spring:
  68. profiles: test
  69. redis:
  70. host: 172.19.103.47 # Redis server host.
  71. fast-dfs:
  72. tracker-server: 172.19.103.13:22122
  73. public-server: 172.19.103.52:80
  74. data-source:
  75. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  76. user-name: weifuwu
  77. password: weifuwu
  78. hibernate:
  79. show-sql: true
  80. format-sql: true
  81. ---
  82. spring:
  83. profiles: prod
  84. redis:
  85. host: 11.1.2.20 # Redis server host.
  86. hibernate:
  87. show-sql: true
  88. format-sql: true
  89. fast-dfs:
  90. tracker-server: 11.1.2.9:22122
  91. data-source:
  92. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  93. user-name: ha
  94. password: jkzlxm