svr-resource.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. info:
  2. app:
  3. name: ResourceServiceApp
  4. description: Resource service.
  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: prod
  52. datasource:
  53. url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  54. username: healthcloud
  55. password: GP8Qz4qU
  56. redis:
  57. host: 192.168.50.82
  58. port: 6379
  59. password: q4YaQemf
  60. data:
  61. solr:
  62. zk-host: node1.jkzl.com,node2.jkzl.com,node4.jkzl.com:2181/solr
  63. hadoop:
  64. hbase-properties:
  65. hbase.zookeeper.quorum: node1.jkzl.com,node2.jkzl.com,node4.jkzl.com
  66. fast-dfs:
  67. tracker-server: 192.168.50.116:22122,192.168.50.119:22122
  68. public-server: http://192.168.220.66:23000
  69. elasticsearch:
  70. cluster-name: elasticsearch
  71. cluster-nodes: 172.10.10.5:9300