svr-basic.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. info:
  2. app:
  3. name: SVR-BASIC
  4. description: EHR Platform Microservice.
  5. version: 1.0.0
  6. spring:
  7. datasource:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. max-active: 20
  10. max-idle: 8
  11. min-idle: 8
  12. validation-query: SELECT 1
  13. test-on-borrow: true
  14. redis:
  15. database: 0 # Database index used by the connection factory.
  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. fast-dfs:
  26. connect-timeout: 10
  27. network-timeout: 60
  28. charset: ISO8859-1
  29. pool:
  30. init-size: 1
  31. max-size: 20
  32. wait-time: 500
  33. http:
  34. tracker-http-port: 80
  35. anti-steal-token: no
  36. secret-key: FastDFS1234567890
  37. eip:
  38. tenant: jkzl
  39. #健康上饶app-卫计委机构编码--用于居民注册设置默认权限
  40. jksr-app:
  41. orgcode: PDY026797
  42. registerRoleClientId: WYo0l73F8e,HPnz4GXfYA #用于创建这些应用的默认角色(健康上饶app,公众健康服务)
  43. ---
  44. spring:
  45. profiles: dev
  46. datasource:
  47. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  48. username: chenweishan
  49. password: chenweishan
  50. # -- unknown use --
  51. ldap:
  52. host: 172.19.103.87
  53. port: 389
  54. bindDn: cn=admin,dc=ehr,dc=jkzl
  55. password: jkzl
  56. root: dc=ehr,dc=jkzl
  57. # -- unknown use --
  58. redis:
  59. host: 172.19.103.47 # Redis server host.
  60. port: 6379
  61. password: redis!@456
  62. data:
  63. mongodb:
  64. host: 192.168.1.220
  65. port: 27017
  66. username: admin
  67. password: admin
  68. authenticationDatabase: admin
  69. database: ehr
  70. solr:
  71. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  72. elasticsearch:
  73. jest:
  74. uris: http://172.19.103.68:9200
  75. fast-dfs:
  76. tracker-server: 172.19.103.13:22122
  77. public-server: http://172.19.103.52:80
  78. es:
  79. index: wlyy_quota_test
  80. type: wlyy_quota_test
  81. host: http://172.19.103.68:9200
  82. tHost: 172.19.103.68:9300
  83. clusterName: jkzl
  84. h5:
  85. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  86. appId: 9000401
  87. clientId: WYo0l73F8e
  88. #福州总部网关参数配置
  89. fz-gateway:
  90. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  91. clientId: 9000401
  92. clientVersion: 1.0
  93. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  94. handlerId: 50871
  95. ---
  96. spring:
  97. profiles: prod
  98. datasource:
  99. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  100. username: weifuwu
  101. password: weifuwu
  102. # -- unknown use --
  103. ldap:
  104. host: 172.19.103.87
  105. port: 389
  106. bindDn: cn=admin,dc=ehr,dc=jkzl
  107. password: jkzl
  108. root: dc=ehr,dc=jkzl
  109. # -- unknown use --
  110. redis:
  111. host: 172.19.103.47 # Redis server host.
  112. port: 6379
  113. password: redis!@456
  114. data:
  115. mongodb:
  116. host: 192.168.1.220
  117. port: 27017
  118. username: admin
  119. password: admin
  120. authenticationDatabase: admin
  121. database: ehr
  122. solr:
  123. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  124. elasticsearch:
  125. jest:
  126. uris: http://172.19.103.68:9200
  127. fast-dfs:
  128. tracker-server: 172.19.103.13:22122
  129. public-server: http://172.19.103.52:80
  130. es:
  131. index: wlyy_quota_test
  132. type: wlyy_quota_test
  133. host: http://172.19.103.68:9200
  134. tHost: 172.19.103.68:9300
  135. clusterName: jkzl
  136. h5:
  137. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  138. appId: 9000401
  139. clientId: WYo0l73F8e
  140. #福州总部网关参数配置
  141. fz-gateway:
  142. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  143. clientId: 9000401
  144. clientVersion: 1.0
  145. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  146. handlerId: 50871