svr-health-profile.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. host: 172.19.103.47 # Redis server host.
  14. port: 6379 # Redis server port.
  15. password: # Login password of the redis server.
  16. timeout: 0 # Connection timeout in milliseconds.
  17. #sentinel:
  18. # master: # Name of Redis server.
  19. # nodes: # Comma-separated list of host:port pairs.
  20. pool:
  21. 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.
  22. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  23. 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.
  24. 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.
  25. # SOLR (SolrProperties)
  26. datasource:
  27. driver-class-name: com.mysql.jdbc.Driver
  28. max-active: 20
  29. max-idle: 8
  30. min-idle: 8
  31. validation-query: SELECT 1
  32. test-on-borrow: true
  33. fast-dfs:
  34. pool:
  35. init-size: 5
  36. max-size: 20
  37. wait-time: 500
  38. connect-timeout: 2
  39. network-timeout: 30
  40. charset: ISO8859-1
  41. http:
  42. tracker-http-port: 80
  43. anti-steal-token: no
  44. secret-key: FastDFS1234567890
  45. # 就诊事件与CDA文档类型关联
  46. cda-document-type-options:
  47. event-type:
  48. - "0": 0dae00065684c9920dc35654490aa9ac # 门诊
  49. - "1": 0dae00065684cb220dc35654490aa9ae # 住院
  50. ---
  51. spring:
  52. profiles: dev
  53. datasource:
  54. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  55. username: weifuwu
  56. password: weifuwu
  57. application:
  58. id: JKZL
  59. fast-dfs:
  60. tracker-server: 172.19.103.13:22122
  61. public-server: http://172.19.103.52:80
  62. ---
  63. spring:
  64. profiles: alpha
  65. datasource:
  66. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  67. username: ha
  68. password: ha
  69. application:
  70. id: JKZL
  71. fast-dfs:
  72. tracker-server: 172.19.103.54:22122
  73. public-server: http://172.19.103.54:80
  74. ---
  75. spring:
  76. profiles: test
  77. datasource:
  78. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  79. username: weifuwu
  80. password: weifuwu
  81. application:
  82. id: JKZL
  83. fast-dfs:
  84. tracker-server: 172.19.103.13:22122
  85. public-server: http://172.19.103.52:80
  86. ---
  87. spring:
  88. profiles: prod
  89. datasource:
  90. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  91. username: ha
  92. password: jkzlxm
  93. application:
  94. id: JKZL
  95. fast-dfs:
  96. tracker-server: 11.1.2.9:22122
  97. public-server: http://ds.ehr.yihu.com:22122
  98. ---
  99. spring:
  100. profiles: prod_fz
  101. datasource:
  102. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  103. username: sr_healtharchive
  104. password: data!@)1
  105. application:
  106. id: JKZL
  107. fast-dfs:
  108. tracker-server: 192.168.135.42:22122
  109. public-server: http://192.168.135.42:22122