svr-basic.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. elasticsearch:
  71. jest:
  72. uris: http://172.19.103.68:9200
  73. fast-dfs:
  74. tracker-server: 172.19.103.13:22122
  75. public-server: http://172.19.103.52:80
  76. es:
  77. index: wlyy_quota_test
  78. type: wlyy_quota_test
  79. host: http://172.19.103.68:9200
  80. tHost: 172.19.103.68:9300
  81. clusterName: jkzl
  82. h5:
  83. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  84. appId: 9000401
  85. clientId: WYo0l73F8e
  86. #福州总部网关参数配置
  87. fz-gateway:
  88. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  89. clientId: 9000401
  90. clientVersion: 1.0
  91. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  92. handlerId: 50871
  93. ---
  94. spring:
  95. profiles: prod
  96. datasource:
  97. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  98. username: weifuwu
  99. password: weifuwu
  100. # -- unknown use --
  101. ldap:
  102. host: 172.19.103.87
  103. port: 389
  104. bindDn: cn=admin,dc=ehr,dc=jkzl
  105. password: jkzl
  106. root: dc=ehr,dc=jkzl
  107. # -- unknown use --
  108. redis:
  109. host: 172.19.103.47 # Redis server host.
  110. port: 6379
  111. password: redis!@456
  112. data:
  113. mongodb:
  114. host: 192.168.1.220
  115. port: 27017
  116. username: admin
  117. password: admin
  118. authenticationDatabase: admin
  119. database: ehr
  120. elasticsearch:
  121. jest:
  122. uris: http://172.19.103.68:9200
  123. fast-dfs:
  124. tracker-server: 172.19.103.13:22122
  125. public-server: http://172.19.103.52:80
  126. es:
  127. index: wlyy_quota_test
  128. type: wlyy_quota_test
  129. host: http://172.19.103.68:9200
  130. tHost: 172.19.103.68:9300
  131. clusterName: jkzl
  132. h5:
  133. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  134. appId: 9000401
  135. clientId: WYo0l73F8e
  136. #福州总部网关参数配置
  137. fz-gateway:
  138. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  139. clientId: 9000401
  140. clientVersion: 1.0
  141. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  142. handlerId: 50871