hos-admin.yml 14 KB

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