hos-admin.yml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. security:
  2. basic:
  3. enabled: false
  4. hystrix:
  5. command:
  6. default:
  7. execution:
  8. # timeout:
  9. # enabled: false
  10. isolation:
  11. thread:
  12. timeoutInMilliseconds: 30000
  13. ---
  14. spring:
  15. profiles: dev
  16. datasource:
  17. driverClassName: com.mysql.jdbc.Driver
  18. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  19. username: hos
  20. password: 123456
  21. test-on-borrow: true
  22. validation-query: SELECT 1
  23. test-while-idle: true
  24. max-total: 100
  25. default-auto-commit: true
  26. max-idle: 50
  27. min-idle: 20
  28. initial-size: 10
  29. jpa:
  30. database-platform: org.hibernate.dialect.MySQL5Dialect
  31. hibernate:
  32. dialect: org.hibernate.dialect.MySQL5Dialect
  33. format-sql: true
  34. show-sql: false
  35. data:
  36. mongodb:
  37. host: 172.19.103.57
  38. port: 27017
  39. username: esb
  40. password: esb
  41. authenticationDatabase: admin
  42. gridFsDatabase: dfs
  43. database: runtime
  44. aop:
  45. proxy-target-class: true
  46. hos:
  47. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  48. clientId: 0e3DIdNaQ2
  49. zbus:
  50. url: 172.19.103.37:9020
  51. filesystem:
  52. url: http://172.19.103.37:9010/dfs/file
  53. fast-dfs:
  54. tracker-server: 172.19.103.13:22122
  55. public-server: http://172.19.103.52:80
  56. jwt:
  57. header: Authorization
  58. secret: mySecret
  59. expiration: 604800
  60. tokenHead: "Bearer "
  61. ---
  62. spring:
  63. profiles: test
  64. datasource:
  65. driverClassName: com.mysql.jdbc.Driver
  66. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  67. username: hos
  68. password: 123456
  69. test-on-borrow: true
  70. validation-query: SELECT 1
  71. test-while-idle: true
  72. max-total: 100
  73. default-auto-commit: true
  74. max-idle: 50
  75. min-idle: 20
  76. initial-size: 10
  77. jpa:
  78. database-platform: org.hibernate.dialect.MySQL5Dialect
  79. hibernate:
  80. dialect: org.hibernate.dialect.MySQL5Dialect
  81. format-sql: true
  82. show-sql: false
  83. data:
  84. mongodb:
  85. host: 172.19.103.57
  86. port: 27017
  87. username: esb
  88. password: esb
  89. authenticationDatabase: admin
  90. gridFsDatabase: dfs
  91. database: runtime
  92. aop:
  93. proxy-target-class: true
  94. hos:
  95. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  96. clientId: 0e3DIdNaQ2
  97. zbus:
  98. url: 172.19.103.37:9020
  99. filesystem:
  100. url: http://172.19.103.37:9010/dfs/file
  101. fast-dfs:
  102. tracker-server: 172.19.103.13:22122
  103. public-server: http://172.19.103.52:80
  104. jwt:
  105. header: Authorization
  106. secret: mySecret
  107. expiration: 604800
  108. tokenHead: "Bearer "
  109. ---
  110. spring:
  111. profiles: prod_sr
  112. datasource:
  113. driverClassName: com.mysql.jdbc.Driver
  114. url: jdbc:mysql://10.176.97.9:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  115. username: jkzlesb
  116. password: Ajch6o@Y
  117. test-on-borrow: true
  118. validation-query: SELECT 1
  119. test-while-idle: true
  120. max-total: 100
  121. default-auto-commit: true
  122. max-idle: 50
  123. min-idle: 20
  124. initial-size: 10
  125. # REDIS
  126. redis:
  127. host: 10.176.97.5 # Redis server host.
  128. port: 6390
  129. password: q4YaQemf
  130. database: 0 # Database index used by the connection factory.
  131. timeout: 0 # Connection timeout in milliseconds.
  132. #sentinel:
  133. # master: # Name of Redis server.
  134. # nodes: # Comma-separated list of host:port pairs.
  135. pool:
  136. 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.
  137. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  138. 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.
  139. 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.
  140. jpa:
  141. database-platform: org.hibernate.dialect.MySQL5Dialect
  142. hibernate:
  143. dialect: org.hibernate.dialect.MySQL5Dialect
  144. format-sql: true
  145. show-sql: false
  146. data:
  147. mongodb:
  148. host: 10.176.97.9
  149. port: 29000
  150. username: jkzlesb
  151. password: fgu$^ezl
  152. authenticationDatabase: admin
  153. gridFsDatabase: dfs
  154. database: runtime
  155. aop:
  156. proxy-target-class: true
  157. hos:
  158. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  159. clientId: 0e3DIdNaQ2
  160. zbus:
  161. url: 10.176.97.14:9020
  162. filesystem:
  163. url: http://10.176.97.14:9010/dfs/file
  164. fast-dfs:
  165. tracker-server: 172.19.103.13:22122
  166. public-server: http://172.19.103.52:80
  167. jwt:
  168. header: Authorization
  169. secret: mySecret
  170. expiration: 604800
  171. tokenHead: "Bearer "
  172. ---
  173. spring:
  174. profiles: prod
  175. datasource:
  176. driverClassName: com.mysql.jdbc.Driver
  177. url: jdbc:mysql://10.176.97.9:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  178. username: jkzlesb
  179. password: Ajch6o@Y
  180. test-on-borrow: true
  181. validation-query: SELECT 1
  182. test-while-idle: true
  183. max-total: 100
  184. default-auto-commit: true
  185. max-idle: 50
  186. min-idle: 20
  187. initial-size: 10
  188. # REDIS
  189. redis:
  190. host: 10.176.97.5 # Redis server host.
  191. port: 6390
  192. password: q4YaQemf
  193. database: 0 # Database index used by the connection factory.
  194. timeout: 0 # Connection timeout in milliseconds.
  195. #sentinel:
  196. # master: # Name of Redis server.
  197. # nodes: # Comma-separated list of host:port pairs.
  198. pool:
  199. 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.
  200. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  201. 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.
  202. 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.
  203. jpa:
  204. database-platform: org.hibernate.dialect.MySQL5Dialect
  205. hibernate:
  206. dialect: org.hibernate.dialect.MySQL5Dialect
  207. format-sql: true
  208. show-sql: false
  209. data:
  210. mongodb:
  211. host: 10.176.97.9
  212. port: 29000
  213. username: jkzlesb
  214. password: fgu$^ezl
  215. authenticationDatabase: admin
  216. gridFsDatabase: dfs
  217. database: runtime
  218. aop:
  219. proxy-target-class: true
  220. hos:
  221. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  222. clientId: 0e3DIdNaQ2
  223. zbus:
  224. url: 10.176.97.14:9020
  225. filesystem:
  226. url: http://10.176.97.14:9010/dfs/file
  227. fast-dfs:
  228. tracker-server: 172.19.103.13:22122
  229. public-server: http://172.19.103.52:80
  230. jwt:
  231. header: Authorization
  232. secret: mySecret
  233. expiration: 604800
  234. tokenHead: "Bearer "