svr-standard.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. fast-dfs:
  10. pool:
  11. init-size: 5
  12. max-size: 20
  13. wait-time: 500
  14. connect-timeout: 2
  15. network-timeout: 30
  16. charset: ISO8859-1
  17. http:
  18. tracker-http-port: 80
  19. anti-steal-token: no
  20. secret-key: FastDFS1234567890
  21. spring:
  22. # REDIS
  23. redis:
  24. database: 0 # Database index used by the connection factory.
  25. port: 6379 # Redis server port.
  26. password: # Login password of the redis server.
  27. timeout: 0 # Connection timeout in milliseconds.
  28. #sentinel:
  29. # master: # Name of Redis server.
  30. # nodes: # Comma-separated list of host:port pairs.
  31. pool:
  32. 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.
  33. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  34. 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.
  35. 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.
  36. # SOLR (SolrProperties)
  37. data:
  38. solr:
  39. repositories.enabled: true # Enable Solr repositories.
  40. datasource:
  41. driver-class-name: com.mysql.jdbc.Driver
  42. max-active: 20
  43. max-idle: 8
  44. min-idle: 8
  45. validation-query: SELECT 1
  46. test-on-borrow: true
  47. ---
  48. spring:
  49. profiles: dev
  50. datasource:
  51. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  52. username: ha
  53. password: ha
  54. redis:
  55. host: 192.168.1.220 # Redis server host.
  56. fast-dfs:
  57. tracker-server: 172.19.103.54:22122
  58. public-server: http://172.19.103.54:22122
  59. ---
  60. spring:
  61. profiles: alpha
  62. datasource:
  63. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  64. username: ha
  65. password: ha
  66. redis:
  67. host: 192.168.1.220 # Redis server host.
  68. fast-dfs:
  69. tracker-server: 172.19.103.54:22122
  70. public-server: http://172.19.103.54:22122
  71. ---
  72. spring:
  73. profiles: test
  74. datasource:
  75. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  76. username: weifuwu
  77. password: weifuwu
  78. redis:
  79. host: 172.19.103.47 # Redis server host.
  80. fast-dfs:
  81. tracker-server: 172.19.103.13:22122
  82. public-server: http://172.19.103.52:80
  83. ---
  84. spring:
  85. profiles: prod
  86. datasource:
  87. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  88. username: ha
  89. password: jkzlxm
  90. redis:
  91. host: 11.1.2.20 # Redis server host.
  92. fast-dfs:
  93. tracker-server: 11.1.2.9:22122
  94. public-server: http://ds.ehr.yihu.com:22122