svr-health-profile.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. spring:
  10. # REDIS
  11. redis:
  12. database: 0 # Database index used by the connection factory.
  13. port: 6379 # Redis server port.
  14. password: # Login password of the redis server.
  15. timeout: 0 # Connection timeout in milliseconds.
  16. #sentinel:
  17. # master: # Name of Redis server.
  18. # nodes: # Comma-separated list of host:port pairs.
  19. pool:
  20. 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.
  21. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  22. 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.
  23. 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.
  24. # SOLR (SolrProperties)
  25. datasource:
  26. driver-class-name: com.mysql.jdbc.Driver
  27. max-active: 20
  28. max-idle: 8
  29. min-idle: 8
  30. validation-query: SELECT 1
  31. test-on-borrow: true
  32. fast-dfs:
  33. pool:
  34. init-size: 5
  35. max-size: 20
  36. wait-time: 500
  37. connect-timeout: 2
  38. network-timeout: 30
  39. charset: ISO8859-1
  40. http:
  41. tracker-http-port: 80
  42. anti-steal-token: no
  43. secret-key: FastDFS1234567890
  44. # 就诊事件与CDA文档类型关联
  45. cda-document-type-options:
  46. event-type:
  47. - "0": 0dae00065684c9920dc35654490aa9ac # 门诊
  48. - "1": 0dae00065684cb220dc35654490aa9ae # 住院
  49. ---
  50. spring:
  51. profiles: dev
  52. datasource:
  53. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  54. username: ha
  55. password: ha
  56. fast-dfs:
  57. tracker-server: 172.19.103.54:22122
  58. public-server: http://172.19.103.54:80
  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. fast-dfs:
  67. tracker-server: 172.19.103.54:22122
  68. public-server: http://172.19.103.54:80
  69. ---
  70. spring:
  71. profiles: test
  72. datasource:
  73. url: jdbc:mysql://172.19.103.50:3306/healtharchive_220?useUnicode=true&characterEncoding=UTF-8
  74. username: weifuwu
  75. password: weifuwu
  76. fast-dfs:
  77. tracker-server: 172.19.103.54:22122
  78. public-server: http://172.19.103.54:80
  79. ---
  80. spring:
  81. profiles: prod
  82. datasource:
  83. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  84. username: ha
  85. password: jkzlxm
  86. fast-dfs:
  87. tracker-server: 11.1.2.9:22122
  88. public-server: http://ds.ehr.yihu.com:22122