hos-admin.yml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. server:
  2. context-path: /
  3. port: 7070
  4. session:
  5. timeout: 3600
  6. hystrix:
  7. command:
  8. default:
  9. execution:
  10. isolation:
  11. thread:
  12. timeoutInMilliseconds: 30000
  13. local:
  14. server:
  15. port: 7070
  16. spring:
  17. datasource:
  18. driver-class-name: com.mysql.jdbc.Driver
  19. max-active: 20
  20. test-on-borrow: true
  21. validation-query: SELECT 1
  22. test-while-idle: true
  23. max-total: 100
  24. default-auto-commit: true
  25. max-idle: 50
  26. min-idle: 20
  27. initial-size: 10
  28. # REDIS
  29. redis:
  30. database: 0 # Database index used by the connection factory.
  31. timeout: 0 # Connection timeout in milliseconds.
  32. pool:
  33. 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.
  34. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  35. 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.
  36. 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.
  37. session:
  38. store-type: none
  39. fast-dfs:
  40. pool:
  41. init-size: 5
  42. max-size: 20
  43. wait-time: 500
  44. connect-timeout: 2
  45. network-timeout: 30
  46. charset: ISO8859-1
  47. http:
  48. tracker-http-port: 80
  49. anti-steal-token: no
  50. secret-key: FastDFS1234567890
  51. org_code: jkzl
  52. info:
  53. app:
  54. name: SVR-EIP-ADMIN
  55. version: 1.0.0
  56. ---
  57. spring:
  58. profiles: dev
  59. datasource:
  60. url: jdbc:mysql://172.26.0.104:3306/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true
  61. username: ssgg
  62. password: ssgg@jkzl2019
  63. # REDIS
  64. redis:
  65. host: 172.26.0.253 # Redis server host.
  66. port: 6379
  67. jpa:
  68. database-platform: org.hibernate.dialect.MySQL5Dialect
  69. hibernate:
  70. dialect: org.hibernate.dialect.MySQL5Dialect
  71. format-sql: true
  72. show-sql: false
  73. data:
  74. mongodb:
  75. host: 172.19.103.57
  76. port: 27017
  77. username: esb
  78. password: esb
  79. authenticationDatabase: admin
  80. gridFsDatabase: dfs
  81. database: runtime
  82. aop:
  83. proxy-target-class: true
  84. hos:
  85. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  86. clientId: 0e3DIdNaQ2
  87. zbus:
  88. url: 172.19.103.58:9020
  89. filesystem:
  90. url: http://172.26.0.128:9010/dfs/file
  91. adminOutUrl: http://172.19.103.57:7070
  92. fast-dfs:
  93. tracker-server: 172.19.103.13:22122
  94. public-server: http://172.19.103.52:80
  95. jwt:
  96. header: Authorization
  97. secret: mySecret
  98. expiration: 604800
  99. tokenHead: "Bearer "
  100. ---
  101. spring:
  102. profiles: test
  103. datasource:
  104. url: jdbc:mysql://172.26.0.104:3306/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true
  105. username: ssgg
  106. password: ssgg@jkzl2019
  107. # REDIS
  108. redis:
  109. host: 172.26.0.253 # Redis server host.
  110. port: 6379
  111. jpa:
  112. database-platform: org.hibernate.dialect.MySQL5Dialect
  113. hibernate:
  114. dialect: org.hibernate.dialect.MySQL5Dialect
  115. format-sql: true
  116. show-sql: false
  117. data:
  118. mongodb:
  119. host: 172.19.103.57
  120. port: 27017
  121. username: esb
  122. password: esb
  123. authenticationDatabase: admin
  124. gridFsDatabase: dfs
  125. database: runtime
  126. aop:
  127. proxy-target-class: true
  128. hos:
  129. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  130. clientId: 0e3DIdNaQ2
  131. zbus:
  132. url: 172.19.103.58:9020
  133. filesystem:
  134. url: http://172.26.0.128:9010/dfs/file
  135. adminOutUrl: http://172.26.0.128:7070
  136. fast-dfs:
  137. tracker-server: 172.26.0.200:22122
  138. public-server: http://172.26.0.200:80
  139. jwt:
  140. header: Authorization
  141. secret: mySecret
  142. expiration: 604800
  143. tokenHead: "Bearer "
  144. ---
  145. spring:
  146. profiles: prod
  147. datasource:
  148. url: jdbc:mysql://192.168.210.3:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  149. username: jkzlesb
  150. password: Ajch6o@Y
  151. # REDIS
  152. redis:
  153. host: 192.168.50.82 # Redis server host.
  154. port: 6379
  155. password: q4YaQemf
  156. jpa:
  157. database-platform: org.hibernate.dialect.MySQL5Dialect
  158. hibernate:
  159. dialect: org.hibernate.dialect.MySQL5Dialect
  160. format-sql: true
  161. show-sql: false
  162. data:
  163. mongodb:
  164. host: 192.168.50.26
  165. port: 20000
  166. username: jkzlesb
  167. password: fgu$^ezl
  168. authenticationDatabase: admin
  169. gridFsDatabase: dfs
  170. database: runtime
  171. aop:
  172. proxy-target-class: true
  173. hos:
  174. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  175. clientId: 0e3DIdNaQ2
  176. zbus:
  177. url: 192.168.200.62:9020
  178. filesystem:
  179. url: http://192.168.200.62:9010/dfs/file
  180. adminOutUrl: http://172.19.103.57:7070 # todo 改成hos-admin微服务外网地址,待确认外网地址 用于采集时,发送消息,将标准相关缓存到mongodb,目前暂时没用
  181. fast-dfs:
  182. tracker-server: 192.168.50.116:22122,192.168.50.119:22122
  183. public-server: http://192.168.200.66:23000
  184. jwt:
  185. header: Authorization
  186. secret: mySecret
  187. expiration: 604800
  188. tokenHead: "Bearer "