hos-admin.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. security:
  2. basic:
  3. enabled: false
  4. ---
  5. spring:
  6. profiles: dev
  7. datasource:
  8. driverClassName: com.mysql.jdbc.Driver
  9. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  10. username: hos
  11. password: 123456
  12. test-on-borrow: true
  13. validation-query: SELECT 1
  14. test-while-idle: true
  15. max-total: 100
  16. default-auto-commit: true
  17. max-idle: 50
  18. min-idle: 20
  19. initial-size: 10
  20. jpa:
  21. database-platform: org.hibernate.dialect.MySQL5Dialect
  22. hibernate:
  23. dialect: org.hibernate.dialect.MySQL5Dialect
  24. format-sql: true
  25. show-sql: false
  26. data:
  27. mongodb:
  28. host: 172.19.103.57
  29. port: 27017
  30. username: esb
  31. password: esb
  32. authenticationDatabase: admin
  33. gridFsDatabase: dfs
  34. database: runtime
  35. aop:
  36. proxy-target-class: true
  37. hos:
  38. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  39. clientId: 0e3DIdNaQ2
  40. zbus:
  41. url: 172.19.103.58:9020
  42. filesystem:
  43. url: http://172.19.103.58:9010/dfs/file
  44. fast-dfs:
  45. tracker-server: 172.19.103.13:22122
  46. public-server: http://172.19.103.52:80
  47. jwt:
  48. header: Authorization
  49. secret: mySecret
  50. expiration: 604800
  51. tokenHead: "Bearer "
  52. ---
  53. spring:
  54. profiles: test
  55. datasource:
  56. driverClassName: com.mysql.jdbc.Driver
  57. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  58. username: hos
  59. password: 123456
  60. test-on-borrow: true
  61. validation-query: SELECT 1
  62. test-while-idle: true
  63. max-total: 100
  64. default-auto-commit: true
  65. max-idle: 50
  66. min-idle: 20
  67. initial-size: 10
  68. jpa:
  69. database-platform: org.hibernate.dialect.MySQL5Dialect
  70. hibernate:
  71. dialect: org.hibernate.dialect.MySQL5Dialect
  72. format-sql: true
  73. show-sql: false
  74. data:
  75. mongodb:
  76. host: 172.19.103.57
  77. port: 27017
  78. username: esb
  79. password: esb
  80. authenticationDatabase: admin
  81. gridFsDatabase: dfs
  82. database: runtime
  83. aop:
  84. proxy-target-class: true
  85. hos:
  86. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  87. clientId: 0e3DIdNaQ2
  88. zbus:
  89. url: 172.19.103.58:9020
  90. filesystem:
  91. url: http://172.19.103.58:9010/dfs/file
  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: prod_sr
  103. datasource:
  104. driverClassName: com.mysql.jdbc.Driver
  105. url: jdbc:mysql://192.168.210.3:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  106. username: jkzlesb
  107. password: Ajch6o@Y
  108. test-on-borrow: true
  109. validation-query: SELECT 1
  110. test-while-idle: true
  111. max-total: 100
  112. default-auto-commit: true
  113. max-idle: 50
  114. min-idle: 20
  115. initial-size: 10
  116. # REDIS
  117. redis:
  118. host: 192.168.50.82 # Redis server host.
  119. port: 6379
  120. password: q4YaQemf
  121. database: 0 # Database index used by the connection factory.
  122. timeout: 0 # Connection timeout in milliseconds.
  123. #sentinel:
  124. # master: # Name of Redis server.
  125. # nodes: # Comma-separated list of host:port pairs.
  126. pool:
  127. 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.
  128. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  129. 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.
  130. 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.
  131. jpa:
  132. database-platform: org.hibernate.dialect.MySQL5Dialect
  133. hibernate:
  134. dialect: org.hibernate.dialect.MySQL5Dialect
  135. format-sql: true
  136. show-sql: false
  137. data:
  138. mongodb:
  139. host: 192.168.50.26
  140. port: 20000
  141. username: jkzlesb
  142. password: fgu$^ezl
  143. authenticationDatabase: admin
  144. gridFsDatabase: dfs
  145. database: runtime
  146. aop:
  147. proxy-target-class: true
  148. hos:
  149. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  150. clientId: 0e3DIdNaQ2
  151. zbus:
  152. url: 192.168.200.62:9020
  153. filesystem:
  154. url: http://192.168.200.62:9010/dfs/file
  155. fast-dfs:
  156. tracker-server: 192.168.50.116:22122
  157. public-server: http://192.168.50.37:8888
  158. jwt:
  159. header: Authorization
  160. secret: mySecret
  161. expiration: 604800
  162. tokenHead: "Bearer "
  163. ---
  164. spring:
  165. profiles: prod
  166. datasource:
  167. driverClassName: com.mysql.jdbc.Driver
  168. url: jdbc:mysql://10.176.97.9:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  169. username: jkzlesb
  170. password: Ajch6o@Y
  171. test-on-borrow: true
  172. validation-query: SELECT 1
  173. test-while-idle: true
  174. max-total: 100
  175. default-auto-commit: true
  176. max-idle: 50
  177. min-idle: 20
  178. initial-size: 10
  179. # REDIS
  180. redis:
  181. host: 10.176.97.5 # Redis server host.
  182. port: 6390
  183. password: q4YaQemf
  184. database: 0 # Database index used by the connection factory.
  185. timeout: 0 # Connection timeout in milliseconds.
  186. #sentinel:
  187. # master: # Name of Redis server.
  188. # nodes: # Comma-separated list of host:port pairs.
  189. pool:
  190. 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.
  191. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  192. 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.
  193. 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.
  194. jpa:
  195. database-platform: org.hibernate.dialect.MySQL5Dialect
  196. hibernate:
  197. dialect: org.hibernate.dialect.MySQL5Dialect
  198. format-sql: true
  199. show-sql: false
  200. data:
  201. mongodb:
  202. host: 10.176.97.9
  203. port: 29000
  204. username: jkzlesb
  205. password: fgu$^ezl
  206. authenticationDatabase: admin
  207. gridFsDatabase: dfs
  208. database: runtime
  209. aop:
  210. proxy-target-class: true
  211. hos:
  212. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  213. clientId: 0e3DIdNaQ2
  214. zbus:
  215. url: 10.176.97.14:9020
  216. filesystem:
  217. url: http://10.176.97.14:9010/dfs/file
  218. fast-dfs:
  219. tracker-server: 172.19.103.13:22122
  220. public-server: http://172.19.103.52:80
  221. jwt:
  222. header: Authorization
  223. secret: mySecret
  224. expiration: 604800
  225. tokenHead: "Bearer "
  226. ---
  227. spring:
  228. profiles: prod_fz
  229. datasource:
  230. driverClassName: com.mysql.jdbc.Driver
  231. url: jdbc:mysql://11.1.2.5:3310/tenant_jkzl?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  232. username: jkzlesb
  233. password: Ajch6o@Y
  234. test-on-borrow: true
  235. validation-query: SELECT 1
  236. test-while-idle: true
  237. max-total: 100
  238. default-auto-commit: true
  239. max-idle: 50
  240. min-idle: 20
  241. initial-size: 10
  242. # REDIS
  243. redis:
  244. host: 11.1.2.22 # Redis server host.
  245. port: 6390
  246. password: Kb6wKDQP1W4
  247. database: 0 # Database index used by the connection factory.
  248. timeout: 0 # Connection timeout in milliseconds.
  249. #sentinel:
  250. # master: # Name of Redis server.
  251. # nodes: # Comma-separated list of host:port pairs.
  252. pool:
  253. 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.
  254. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  255. 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.
  256. 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.
  257. jpa:
  258. database-platform: org.hibernate.dialect.MySQL5Dialect
  259. hibernate:
  260. dialect: org.hibernate.dialect.MySQL5Dialect
  261. format-sql: true
  262. show-sql: false
  263. data:
  264. mongodb:
  265. host: 11.1.2.3
  266. port: 20000
  267. username: jkzlesb
  268. password: fgu$^ezl
  269. authenticationDatabase: admin
  270. gridFsDatabase: dfs
  271. database: runtime
  272. aop:
  273. proxy-target-class: true
  274. hos:
  275. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  276. clientId: 0e3DIdNaQ2
  277. zbus:
  278. url: 11.1.2.13:9020
  279. filesystem:
  280. url: http://11.1.2.13:9010/dfs/file
  281. fast-dfs:
  282. tracker-server: 11.1.2.9:22122
  283. public-server: http://11.1.2.9:80
  284. jwt:
  285. header: Authorization
  286. secret: mySecret
  287. expiration: 604800
  288. tokenHead: "Bearer "
  289. ---
  290. spring:
  291. profiles: prod_fzzy
  292. datasource:
  293. driverClassName: com.mysql.jdbc.Driver
  294. url: jdbc:mysql://100.100.1.159:3310/tenant_jkzl?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  295. username: jkzlesb
  296. password: Ajch6o@Y
  297. test-on-borrow: true
  298. validation-query: SELECT 1
  299. test-while-idle: true
  300. max-total: 100
  301. default-auto-commit: true
  302. max-idle: 50
  303. min-idle: 20
  304. initial-size: 10
  305. jpa:
  306. database-platform: org.hibernate.dialect.MySQL5Dialect
  307. hibernate:
  308. dialect: org.hibernate.dialect.MySQL5Dialect
  309. format-sql: true
  310. show-sql: false
  311. # REDIS
  312. redis:
  313. host: 100.100.1.161 # Redis server host.
  314. port: 6390
  315. password: q4YaQemf
  316. database: 0 # Database index used by the connection factory.
  317. timeout: 0 # Connection timeout in milliseconds.
  318. #sentinel:
  319. # master: # Name of Redis server.
  320. # nodes: # Comma-separated list of host:port pairs.
  321. pool:
  322. 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.
  323. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  324. 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.
  325. 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.
  326. data:
  327. mongodb:
  328. host: 100.100.1.157
  329. port: 29000
  330. username: jkzlesb
  331. password: fgu$^ezl
  332. authenticationDatabase: admin
  333. gridFsDatabase: dfs
  334. database: runtime
  335. aop:
  336. proxy-target-class: true
  337. hos:
  338. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  339. clientId: 0e3DIdNaQ2
  340. zbus:
  341. url: 100.100.1.165:9020
  342. filesystem:
  343. url: http://100.100.1.165:9010/dfs/file
  344. fast-dfs:
  345. tracker-server: 100.100.1.157:22122
  346. public-server: http://100.100.1.157:8888
  347. jwt:
  348. header: Authorization
  349. secret: mySecret
  350. expiration: 604800
  351. tokenHead: "Bearer "