svr-resource.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. info:
  2. app:
  3. name: SVR-RESOURCE
  4. description: EHR Platform Microservice.
  5. version: 1.0.0
  6. spring:
  7. # REDIS
  8. redis:
  9. database: 0 # Database index used by the connection factory.
  10. timeout: 0 # Connection timeout in milliseconds.
  11. pool:
  12. 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.
  13. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  14. 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.
  15. 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.
  16. datasource:
  17. driver-class-name: com.mysql.jdbc.Driver
  18. max-active: 20
  19. max-idle: 8
  20. min-idle: 8
  21. validation-query: SELECT 1
  22. test-on-borrow: true
  23. fast-dfs:
  24. connect-timeout: 10
  25. network-timeout: 60
  26. charset: ISO8859-1
  27. pool:
  28. init-size: 5
  29. max-size: 20
  30. wait-time: 500
  31. http:
  32. tracker-http-port: 80
  33. anti-steal-token: no
  34. secret-key: FastDFS1234567890
  35. hadoop:
  36. hbase-properties:
  37. hbase.zookeeper.property.clientPort: 2181
  38. zookeeper.znode.parent: /hbase-unsecure
  39. user:
  40. name: root
  41. elasticsearch:
  42. pool:
  43. init-size: 1
  44. max-size: 5
  45. eip:
  46. tenant: jkzl
  47. h5:
  48. clientId: WYo0l73F8e
  49. ---
  50. spring:
  51. profiles: dev
  52. datasource:
  53. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  54. username: weifuwu
  55. password: weifuwu
  56. redis:
  57. host: 172.19.103.47
  58. port: 6379
  59. password: redis!@456
  60. data:
  61. solr:
  62. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  63. hadoop:
  64. hbase-properties:
  65. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  66. fast-dfs:
  67. tracker-server: 172.19.103.13:22122
  68. public-server: http://172.19.103.52:80
  69. elasticsearch:
  70. cluster-name: elasticsearch
  71. cluster-nodes: 172.19.103.9:9300
  72. ---
  73. spring:
  74. profiles: prod
  75. datasource:
  76. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  77. username: weifuwu
  78. password: weifuwu
  79. redis:
  80. host: 172.19.103.47
  81. port: 6379
  82. password: redis!@456
  83. data:
  84. solr:
  85. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  86. hadoop:
  87. hbase-properties:
  88. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  89. fast-dfs:
  90. tracker-server: 172.19.103.13:22122
  91. public-server: http://172.19.103.52:80
  92. elasticsearch:
  93. cluster-name: elasticsearch
  94. cluster-nodes: 172.19.103.9:9300