svr-health-profile.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  54. username: weifuwu
  55. password: weifuwu
  56. application:
  57. id: JKZL
  58. fast-dfs:
  59. tracker-server: 172.19.103.13:22122
  60. public-server: http://172.19.103.52:80
  61. ---
  62. spring:
  63. profiles: alpha
  64. datasource:
  65. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  66. username: ha
  67. password: ha
  68. application:
  69. id: JKZL
  70. fast-dfs:
  71. tracker-server: 172.19.103.54:22122
  72. public-server: http://172.19.103.54:80
  73. ---
  74. spring:
  75. profiles: test
  76. datasource:
  77. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  78. username: weifuwu
  79. password: weifuwu
  80. application:
  81. id: JKZL
  82. fast-dfs:
  83. tracker-server: 172.19.103.13:22122
  84. public-server: http://172.19.103.52:80
  85. ---
  86. spring:
  87. profiles: prod
  88. datasource:
  89. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  90. username: ha
  91. password: jkzlxm
  92. application:
  93. id: JKZL
  94. fast-dfs:
  95. tracker-server: 11.1.2.9:22122
  96. public-server: http://ds.ehr.yihu.com:22122
  97. ---
  98. spring:
  99. profiles: prod_fz
  100. datasource:
  101. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  102. username: sr_healtharchive
  103. password: data!@)1
  104. application:
  105. id: JKZL
  106. fast-dfs:
  107. tracker-server: 192.168.135.42:22122
  108. public-server: http://192.168.135.42:22122